Restored event box

Restored previous code for events