switching to use argparse module