structure of DB