added sumTable