Implemented a new event generator
Implemented event generator