working on the GetOptions operation