updated CC06 code
FINAL version of CC06