changes for getsOpt