new database scheme