database setup almost done, but setup_database is broken now