added event attribute to event