callback method was not defined outside of options.