renamed $ea to $eventAdapter