command line reading