summation working for all sections... next step is to build the database call