Better cce implementation