supporting mongo config