new database workings