add getevents methods