database creation works properly