with summation