changed up summation.