added sumPrimes