working getopt
basic object binding