added primary/secondary mongo