minor work on commandline