(incomplete) working on command-line feature