Created an event processor