Added generation of CP using CPOP