setOptArray should be setOpt