a little bit more `mongodb` agnostic