added search for events