changed userInput to lowercase