added support for eventlisteners