Added perform Trap of generatedEvent