computing a sum is for totaling figures