update to reflect changes in userinput.cpp