CPcaCompression added and cleaned-up