added example of callback in getHits