Added user input and average