added search to events