returning a callback to searchResultsProvider