adding OptionSet class