implemented executeEvent and executeNativeHandler