added a message
allow user to enter input values
added a loop