generalized the conn string