creating command line interface