work on command line switches