started creating a function that will interpret user input