implement event search