add Custom event demo