start of command line interface