started validating user input