added getUserInput