change Processor to Routine