adding a command line interface