adding CCG sums