changed method of calculating a threshold for a CC