OptionsResolver is used