event-dispatcher-and-legacy