optimization for cclog