added PdCu functions to rLayerPAP