working input\output