cleaning up command line interface