taking input from the command line