add event demo