use type=int as argparse argument. this will generate better error messages