database preliminaries