getopt should be dropped!