done with sum.ts