input/output question from Newbee