preliminaries with mongo