This was an action for a declaratory judgment, in which appellees sought a declaration of rights between them and appellants under a contract and an assignment, assigning to appellees certain rights in and to oil and gas producing horizons encountered at a depth of less than 4,000 feet. The acreage covered by the contract and assignment was classified, in the contract and is so designated in the pleadings, into four Tracts numbered 1 to 4, respectively. By stipulation of the parties, it was agreed that the law suit would be confined to the leases covering only Tracts 2 and 3. Pertinent portions of the contract and assignment are set out in footnote l.1 So far as material, the contract in substance provided that Carter Oil Company, herein reterred to as Carter, would assign to McCasland its rights in the leases “insofar as they covered producing horizons above a depth of 4,000 feet, subject to the terms and provisions of this agreement.” It provided that upon demand and after the commencement of a well by McCasland, Carter would execute assignments in writing on Carter’s usual forms “assigning to McCasland the oil and gas leasehold estates on the properties heretofore described above the depth of four thousand (4,000) feet, such assignments to be made specifically subject to the terms and conditions of this agreement.” The contract contained other provisions, giving Carter an overriding royalty in producing wel’s drilled by McCasland and protecting it in the production it already had on the acreage as well as other provisions not involved in this litigation.
The written assignment, executed and delivered pursuant to the contract, assigned all of Carter’s rights, title and interest in and to the leases “insofar as said leases cover producing horizons above the depth of 4,000 feet.” The assignment reserved to Carter all interest in the tracts “insofar as they cover producing horizons below the depth of 4,000 feet * * The leases described in the contract and assignment covered land in the Carter-Knox field. While many wells had been drilled in the field, the Woods Sand Zone Producing Formation, the one in question here, was *890unknown at the time of the execution of these instruments. It was first discovered in February, 1947, in a well drilled by Mc-Casland. This well was a gas well and never produced oil. A number of wells were drilled into the formation by McCas-land and Carter as well as others. These wells demonstrated that the formation was an unorthodox one. While the other formations in the field were comparatively level, this was a slanting formation, dipping from 58 to 60 degrees and having an average width of from 1,000 to- 1,200 feet. In some places, it is encountered above 4,000 feet, while in others it is found at a considerable depth below that point. In some places on these two tracts, it was encountered above 4,000 feet, while at other points it was found below that depth. In wells which McCasland drilled on the lands covered by the assigned leases, the Woods Stand Horizon was encountered above 4,000 feet, while in two wells drilled by Carter on the same acreage, the sand was encountered below 4,000 feet. One of the wells drilled by Carter to a depth of 4,487 feet failed to find the sand. Carter obtained permission of the Oklahoma Corporation Commission to whipstock this well to the East so as to drill into the Woods Sand Formation below 4,000 feet. Permission having been obtained, the well was whip-stocked 220 feet East to a depth of 4,312 feet, where the sand was encountered.
The controversy centers around Carter’s claim that it had the right to drill into- the Woods Sand Formation on the assigned acreage, where it is encountered at a depth of more than 4,000 feet and produce oil therefrom, when it takes that oil from a producing horizon, which had been penetrated by McCasland’s wells at a depth of less than 4,000 feet and where all the oil in the formation can and will be produced without economic loss from McCasland wells.
The trial court made exhaustive findings of fact and conclusions of law. It found as a fact that the reservoir content of the Woods Sand Zone Producing Horizon was held under pressure; that it had a gas cap at the top with oil immediately below; that the oil contained some gas in solution; that in the lower part of the structure below the oil, water was found in great quantities; that there was and would continue to be an active water drive and that all the recoverable oil and gas contained in the common reservoir, from which all wells involved in this action were producing, could under normal operating methods and conditions be recovered through the McCasland wells. The trial court also found that it was never contemplated by the parties that Carter and McCasland would produce oil or gas from the same common pool. The court concluded as a matter of law that the phrase “insofar as they cover producing horizons above the depth of four thousand (4.000) feet” as used in the contract and assignment in this action means “insofar as they cover, embrace and include producing horizons encountered above four thousand (4.000) feet.” Based upon its findings and conclusions of law, the court entered judgment that McCasland was entitled to produce all the oil and gas contained in the Woods Sand Zone Producing Horizon underlying the lands in question from wells drilled or to be drilled by McCasland to a depth of not more than 4,000 feet, subject only to Carter’s overriding royalty; that Carter was guilty of conversion in producing oil and gas from that sand on the tracts in question and that McCasland was entitled to an accounting from Carter.
While numerous assignments of error are urged, the crux of the controversy is whether Carter, having assigned the right to drill for and produce oil and gas from a producing horizon, encountered above 4,000 feet, may nonetheless drill into and produce from this common source of supply, where the pool dips below the 4,000 foot mark, and when it is established that all the oil in the pool, whether lying above or below the 4,000 foot mark, can be produced from wells entering the pool above the 4,000 foot level. The answer turns upon the construction of the contract and assignment.
The rules of construction relating to written contracts are well established and need no extended discussion. Extrinsic evidence may be received only when there is ambiguity in the language used which *891makes uncertain the meaning or intent of the parties. That is the mandate of the Oklahoma Statutes relating to the construction of contracts as well as the general law. So also contracts are not necessarily rendered ambiguous by the mere fact that parties thereto disagree .as to their meaning.
In what sense did the parties employ the phrase “producing horizon”? The trial court concluded as a matter of law that the term “producing horizon” as used in the oil industry and as used in the contract and assignment in this case was a technical term and meant “A bed of some material, lime, sand or conglomorate, containing or holding petroleum, oil or gas, and has some thickness in order to hold fluid or gas.” “Producing horizon” as used by the oil fraternity has a technical meaning. A number of witnesses engaged in the oil industry testified as to' the meaning ascribed to the term by the oil fraternity. Their testimony was properly received and supports the construction placed upon this phrase by the trial court.
It is a matter of common knowledge that oil is found in pools or reservoirs below the earth’s surface and that these pools lie one upon the other and are found at various depths below the earth’s surface and are separated by intervening masses of earth and rock formation. It is also, we think, a matter of common knowledge that, while a pool or lake of oil will have high or low spots, generally in its contour, it is comparatively level and is encountered throughout the field at approximately the same depth below the earth’s surface and without any pronounced or marked degree of variation.
These facts, as well as the expert testimony, supports the court’s construction placed upon the term “producing horizon.” In fine, the term “producing horizon” means the point at which a pool, reservoir or common source of supply of oil or gas is encountered and from which the oil therein may be extracted.
The Woods Sand Formation, which dipped at an average of from 58 to 60 degrees, was an unorthodox one. Its existence was unknown and uncontemplated by the parties at the time of the execution of the contract and assignment. Its later discovery did not change the meaning of the phrase “producing horizon” or the sense in which the term was used by the parties at the time they entered into these contracts. The subsequent discovery of its characteristics could not increase or diminish the rights of either party under the agreements. The exclusive right granted by the contract and assignment to drill wells into all producing horizons found above 4,000 feet carried with it the exclusive right to produce therefrom all the recoverable oil and gas.
We concur in the court’s finding that it was never contemplated that Carter and McCasland would produce oil from the same pool or common source of supply. The late case of Palmer Oil Corp. v. Phillips Petroleum Co., Okl.Sup., 231 P.2d 997, is distinguishable upon the facts. It was a proration case and did not involve the right of more than one person or company to drill into a common source of supply and produce oil therefrom. The language of the contract under which the contestants claimed a right under a proration order, giving each of them an interest in the oil produced from a single pool, is materially different from the language in the instruments in this case. There the Gulf Oil Corporation, the owner of an oil and gas lease, assigned to Palmer “all it rights, title and interest therein to a depth of 6,000 feet ‘retaining the lease as to the oil, gas and casing head gas, together with all the rights, privileges and appurtenances thereunto belonging below the depth of 6,000 feet’.” A well was drilled into a sand which lay partly above and partly below the 6,000 foot line. The Corporation Commission and the Supreme Court merely held that the assignor ’had not parted with the oil that lay below the 6,000 foot line and was, therefore, entitled under the proration order to an equitable division of the oil produced from the wells of its assignee. The assignment did not, as here, contain the words “producing horizon.” The case, therefore, throws no light on the problem confronting us in this case.
*892It is further contended that in any event McCasland was estopped to deny the right of Carter to take oil from the Woods Sand Formation at points below 4,000 feet. McCasland did not object to the drilling by Carter of its B. A. Horton No. 8 well. Under any construction of the agreements, Carter had a right to drill this well and explore the acreage for producing horizons, as that term was understood by the parties, lying below 4,000 feet. That was the well that was drilled to a depth of 4,487 feet and in which no oil was found at that depth. Later when Carter asked the Corporation Commission for permission to' whipstock the well to the East, McCasland did object. Other statements made before the Corporation Commission at that time indicate that a dispute might arise between the parties as to' their correlative rights in this pool, which the Corporation Commission could not settle. There is no evidence of any direct statement or conduct on McCasland’s part, from which it conclusively appears that Carter was lulled into security to its detriment in drilling the wells in controversy. The most that can be said is that there was some conflict in the evidence and the inferences deducible therefrom. This was a matter for the trial court. The trial court resolved this conflict against Carter. The finding is not clearly erroneous and, therefore, will not be disturbed on appeal.
Finally, the decree is challenged on the ground that the court erred in finding and concluding as a matter of law that Carter was guilty of conversion, in taking oil from the Woods Sand Zone Formation at points more than 4,000 feet below the surface and in including an adjudication to that effect in the judgment. At an early stage in the proceedings, an attorney for McCasland stated that “no accounting was involved,” and except as an incident to the direct issues involved no evidence was introduced relating to the method of production on the part of Carter. The question oi conversion, however, was inherent in the issues presented by the petition for a declaratory judgment and for a declaration of rights. Carter conceded that it was taking oil from the formation in question from depths below 4,000 feet. Having determined that Carter was not entitled to take such oil and that such taking constituted an invasion of the rights granted by the contract and assignment to McCasland, it follows as a matter of law that such taking constituted conversion. McCasland’s prayer for the entry of a “judgment declaring that defendant is without right to assert any right, title or interest in or to the oil contained in the common source of supply * * if sustained, as it was, had the legal effect under the admitted facts of requiring a judgment finding Carter guilty of conversion.
Under Rule 54(c) of the Rules of Civil Procedure, 28 U.S.C.A., it is the duty of the court to grant the relief to which a party is entitled irrespective of the prayer for relief in the pleadings.2 Furthermore, Paragraph 4 of the prayer in which McCasland asked for the entry of “a judgment granting to the plaintiff such other and further relief as is just and equitable” warranted the court in entering a judgment, finding Carter guilty of conversion.
Having determined that Carter was not entitled to produce oil from that producing horizon at points below 4,000 feet underneath the surface, it followed as a matter of law that such taking constituted conversion. No objection or exception was directed to the court’s conclusion of law to that effect. The judgment was prepared by the attorneys of McCasland and was presented to the court for entry ten days after the filing of the findings of fact and conclusions of law. At that time, Carter’s attorneys objected to the provision adjudicating Carter guilty of conversion. The ground of objection was that the issue of conversion was not in the case and had not been presented under the evidence. The court stated in substance that such provision should be in the judgment on the theory that the facts and conclusions that the court had reached necessarily involved in the adjudication whether or not the oil produced by Carter from the Woods *893Sand Formation was converted. The court further stated that such questions should be determined in order that all features possible might be presented on appeal. When the court announced its intention of including the provision in the judgment, Carter did not ask that the trial be reopened in order that it might introduce evidence relating to the issue or otherwise litigate it. It merely objected to the provision in the judgment. We think the question of conversion was inherent under the plea&ings and issues as framed thereby and that Carter was afforded full opportunity to adjudicate that issue. It was afforded that opportunity in presenting its theory as to the construction to be placed upon the contract and being permitted full opportunity to present evidence to sustain that construction. It was afforded the full opportunity to establish that under the contract and assignment it had the right to enter this formation below 4,000 feet and take oil therefrom. When the court rejected this theory, a finding of conversion of the oil which it took followed as a legal conclusion.
The issue that was not adjudicated was that of damages flowing from the conversion. As to that issue jurisdiction was retained by the court “for the purpose of awarding to- the plaintiffs such other and further relief in the nature of an accounting from the defendants, as said plaintiffs may be entitled to have awarded or granted to them.” The legal principles controlling the accounting are those established by the Oklahoma decisions. When that issue is presented for determination, both parties no doubt will be afforded full opportunity to present their theory of the accounting under Oklahoma law, including any credits to which Carter may claim to be entitled to under such decisions, by virtue of the conditions under which the wells involved in the accounting were drilled.
The judgment of the trial court is thus affirmed.
. “ * * * Whereas, the parties hereto have arrived at an agreement whereby Carter is to assign to McCasland its rights in and to said leases insofar as they cover the properties described above, and insofar as they cover producing horizons above the depth of 4,000 feet, subject to the terms and provisions of this agreement: * * *.
“Upon demand after approval of titles and commencement of the actual drilling of the test well hereinafter provided for, Carter agrees to make, execute and deliver to McCasland assignments in writing on Carter’s usual form * * * assigning to McCasland the oil and gas leasehold estates on the properties heretofore described, above the depth of four thousand (4,000) feet, such assignments to be made specifically subject to the terms and conditions of this agreement.
“No well shall be completed by MeCas-land on any ten acre tract upon which a producing well is now located, to the same horizon as is being produced in the well on that particular ten acre tract.”
By the assignment dated May 8, 1989, Carter assigned its right, title and interest in and to the leases referred to above “insofar as said leases cover producing horizons above the depth of 4,000 feet.”
“Assignor further expressly retains, saves and reserves from the operation of the within assignment and unto itself, its successors and assigns, all right, title and interest in and to Tracts 1, 2, 3 and 4, above, insofar as they cover producing horizons below the depth of 4,000 feet. * * * >•
. Garland v. Garland, 10 Cir., 165 F.2d 131.