syntactic sugar
improve error-checking for user input