reading input added