database structure complete