Added resetSums