petea - modified processingChain.add method