argument parser, initial version, fix