working with new database