more logic for the Event Processor for certain events