moved ccl.cpp