structure of the daatabase