sums is output and correct