correct call in event_factory