adding command line feature