add code that converts user input to integers