added the Scanner to ask the user for input