Adding search to events