converted to command line