read user input now works