added magic "event" parameter for eventHandlers