added command line helper implementation