working on command line interface