new database layout