working for one user input