modified event system so that objects should spawn their own events