changed error handling for user input