added default parameter in Processor constructor