added a command line for user input