more mongo helper functions