added var userInput and console.log (userInput)