Adds Cartesian sums and other functions