adding callback to serachResultsProvider