more mongo and redis stuff