started basic getopt processing