add command line interface