started adding an event system