now reading input