made it so that the user is asked for the input on runtime