added sumLists function