Added event generator

Generate events