now gets user input
update