convert to argparse 1st commit