Opinion by
Mr. Justice Stewart,The questions on which this case was made to turn in the court below, and which were argued on this appeal, assume that the purpose of the borough of Tarentum in entering into the contract of 1892 with the Tarentum Water Company, one of the appellants, was to provide a supply of water for the use of the inhabitants of the borough. If the assumption should be found unwarranted, these questions become unimportant and the discussion of them unnecessary. When a contract expresses distinctly the common purpose of the parties, it is to be assumed that it expresses the whole purpose. The proper rule in such case would refer whatever stipulations the contract contains to the purpose of the contract as defined, and construe it accordingly. Now, the purpose of this contract, as expressed in the contract itself, was to “provide such water as may be necessary for fire protection and other borough purposes,” thus limiting the purpose to the supply of municipal wants, as distinguished from the wants of the general public. The provision of the contract which is supposed to widen the purpose, is a stipulation that the water company is to furnish water to the general consumers “at the present water rates charged, until its gross annual revenue from the borough shall amount to 810,000 or upwards, in which case the water company is to furnish water to the citizens of the borough at the present rates charged by the Sharpsburg Water Company.” Under the rule of construction as above stated, this stipulation is not to be regarded as an independent covenant, but is to be referred to the purpose defined in the contract, and is to be regarded either as a condition, or as whole or part of the consideration. Suppose however that the purpose expressly defined in the contract makes the contract, taken as a whole, equivocal as to the purpose, and we resort to matters extrinsic to find the true purpose. It then becomes clear that what the borough was bargaining for was not a supply of water to the inhabitants, since the *152water had already been, and was then being supplied, but solely with respect to rates of a supply already furnished. Before the contract in question was entered into, and without any authority derived from the borough, the water company had occupied the streets of the borough with its pipes, had fully completed the erection of its system, and was at the time supplying water to all who demanded it. This it had done, and was doing, not at the invitation of the borough, not pursuant to any contract with the borough, but in the exercise of power which was conferred on it by the legislature, and which was supposed to make the company wholly independent of the borough. So far as appears it did not expend a dollar under the contract here considered. How under such circumstances can it be said that this was a contract to provide the inhabitants of the borough with water? Without this contract the company would have continued to supply water to the inhabitants, for that was the purpose of its organization, and its only source of revenue. Had the borough offered inducements to its organization, and encouraged it to expend its money upon the understanding that it was to have the privilege of furnishing a water supply to the inhabitants, the case might present a different aspect; but it did nothing of the land. It found a company furnishing water; it wanted a supply for municipal purpose, and stipulated with the company that an acceptance of the latter’s1 offer to furnish water for municipal purposes was conditioned on its promise not to increase its rates when it furnished water to the inhabitants. The law authorizes boroughs to provide a supply of water for the use of the inhabitants, but the doctrine asserted in all our cases is that this power is to be exercised by a borough in one of two ways, either by erecting a plant of its own, or by contracting with a water company; and that the adoption of either is an exhaustion of the power. Can it be supposed for a moment that the understanding with respect to the contract under consideration was, that it was to express a choice between *153methods? Certainly there is nothing to indicate that the borough so understood it; and if so understood by the defendant, what equity had it to assert its understanding against the borough? It has done nothing, expended nothing, yielded nothing, because of its understanding of the contract. To hold that the borough, under such a contract as we have here has precluded itself from furnishing its own supply of water for its inhabitants, would be to carry the doctrine of our cases beyond reason. Giving the contract the most favorable construction for the appellant, we can see nothing in it so far as the supply of water to the inhabitants is concerned, but simply an obligation on the part of the company not to charge in excess of the rates it had theretofore been charging, in consideration of the borough securing from it water for municipal purposes. Nor can we regard it as an expression of choice by the borough between methods it is allowed to adopt for furnishing water to the inhabitants. The court very properly dismissed the bill. The decision rested on considerations not here adverted to. The conclusions of the court with respect to these may or may not have been correct. We decide nothing as to this; but for the reasons here stated we affirm the decree dismissing the bill, and accordingly dismiss the appeal.