user input must be convered to int