Tweaked the mongoDB example