added a getter for conn