                         return
 
                     debug('caching %d primes for index : %d', primeRecords[index].length, value)
+                    primeSumTbl[value] = primeRecords[index].reduce(getSum, 0)
                     primeTbl[value] = primeRecords[index]
                 )
             )

        return q.promise

    debug('setting primes at index:%d', chunkIndex)
    
    # primeSumTbl[chunkIndex] = [ chunkPrimeTbl.primes.length ,  chunkPrimeTbl.sum ]    
    primeTbl[chunkIndex] = _.uniq(_.concat(primeTbl[chunkIndex] or [], chunkPrimeTbl.primes or []))

    # store the primes
    self.store.qSet(PRIME_TBL, chunkIndex, chunkPrimeTbl.primes)
    .then(()->
        # # store the metadata
        # self.store.qSet(PRIME_SUM_TBL, chunkIndex, primeSumTbl[chunkIndex])
        # .then(()->
        #     return q.resolve()
        # )
        return q.resolve()
    )
    .fail((err)->

    )
    return q.promise

#
# Make a list of all the primes between
# start - end. While we are at it
