add getEvents
merge