modified events to accommodate more than one event.