trying to figure out db connection