simplifying eventTarget API a bit