creation of new database working