made some progress on command-line