removed getopts