brushing up on the details of the database connection