removed getopt from header