simplifying command line input