added structured events to event definition