the code for EventEnricher