modified sub P rec to map to Sub P Rec