trainsum
