trying to set up database connection