added handler for eventReceived, triggers helper events