finished database setup