user input working