Added sums to definition