Took user inputs