adapt interface of event object