copied example from argparse tut