add sums, limits to integrals and sums