add new functions

freezeColors, unfreezeColors, cmpt_ccg