started work on console input/output