working on GetOptions operation