stub event listening code