make db info global