added untested version of OptionsService