inject OptionsInterface instead of array