add getEvents