initialization of check of user input