Adding better routing. problem getting the sum