modified events module