Adding example of callback in getHits