modified conn manager