populatePrimesIfRequired updated
resume works fine, new mongodb data model