Generating all the event.