command line input handled