Changed random ungraded to atomic mongo ops
removed old code