database setup complete and tested