forgot f in getopt(). oops.