more work on command line argument parsing