database table creation now works