PCG — C Implementation