added Processor class