summation of losses