now with user input