spec for event delegation