finished refactoring the mongo strat