Sum and Quantities now working