refactoring
put back older mongo persistor