One of the counts of the complaint embodies a copy of the contract between the parties, avers performance by the plaintiff of its stipulationo on his part, and that the defendant has failed and refused to pay one-half of the actual cost of the work, as he agreed to do.
Under his plea of the general issue, the defendant had the benefit in the trial of presenting the claims; which he sought to set up by special pleas, that the work done by the plaintiff did not constitute a performance of the contract according to its terms. This being true, if there was error in sustaining the demurrers to those special pleas, it was error without injury to the defendant.—Selma Street & Suburban Ry. Co. v. Campbell, 158 Ala. 438, 48 South. 378.
The defendant owned a tract of land lying between the plaintiff’s land and Cat creek. By the contract, the plaintiff undertook “to furnish labor to clear off right of way and dig ditch through Cypress pond, and to clean out and open the old ditch, all on lands owned by J. L. Alexander (the defendant), known as the Carew Place. McQueen Smith (the plaintiff) is to dig this ditch not less than six or. eight feet wide and the proper depth necessary, not to exceed three feet in the new ditch.” Each of the parties was to pay one-half of the actual cost. The contract concluded with the stipulation “that the said J. L. Alexander is to allow McQueen Smith water right of way through said ditch through Cypress pond to Cat creek, for purpose of keeping ditch clean and open.” The defendant resisted the plaintiff’s right to recover anything for the digging of this new ditch, on the ground that it was dug more *505than three feet deep, instead of not .to exceed the depth mentioned in the contract. For support in this position he relies on the words in the contract, “not to exceed three feet in the new ditch.”
In construing a contract as a whole or any provision of it that is brought into question, the effort should be to ascertain the intention of the parties, “and, to ascertain their intention, regard may be had. to the nature of the instrument itself, the condition of the parties executing it, and the objects they had in view.”—Lewman & Co. et al. v. Ogden Bros, et al., 143 Ala. 351, 42 South. 102. The situation with which the parties dealt in making the contract in question was the possession of the defendant of an old ditch on his land which he was interested' in having cleaned out and opened and rendered more useful for the draining of his land by the construction of a new ditch to connect with it; while the old and new ditches together would serve plaintiff’s purpose by furnishing drainage for his adjoining land. The two landowners agreed to the scheme of improvement. One of them was to do the work, and each was to pay one-half of the actual cost. The object of each of them was to get his land drained. The obligation of the one who undertook to dig the ditch “the proper depth necessary” was limited and qualified by the words “not to exceed three feet in new ditch;” and while the connection in which those words are found makes it plain that this was the primary purpose of their use, yet the clause also inured to the benefit of the other party to the contract, as it is a fair inference that he did not intend to bind himself to pay one-half of the cost of work done in excess of the requirements of the contract. It being perfectly plain that the paramount object of both parties was to have a ditch that would serve as an effective drain into Cat creek, *506it is not to be supposed that it was any part of their purpose in inserting the clause in question'to enable the defendant to claim that no liability was imposed on him by the digging of the new ditch in the event of its depth exceeding three feet, though the ditch as dug-accomplished the purpose of affording an effective means of drainage, at a cost to the defendant within the limit indicated by the terms of the contract, and the additional digging done by the plaintiff involved no loss or damage to the defendant. Even if the clause in question could reasonably be construed as a limitation upon the right of the plaintiff to dig the new ditch beyond the depth specified, and not as a limitation of the amount of digging required of him by the contract, still the mere fact that the ditch as dug was more than three feet deep would not have the effect claimed by the defendant, unless the excess in the depth of the ditch constituted a material departure from the scheme of improvement contemplated by the parties. It is not every variation from specifications that entitles a party who has contracted for work to be done to claim that his obligation to pay has not been incurred because the work as done does not conform to the terms of the contract.
If the work as done substantially conforms to the requirements of the contract immaterial deviations from specifications do not constitute an obstacle in the way of a recovery of the contract price, less the amount, by way of damages, requisite to indemnify the party sought to be charged against whatever injury he may have sustained as the result of such a departure from the letter of the contract.—Singer Manufacturing Co. v. McLean, 105 Ala. 316, 16 South. 912; Pitcairn v. Philip Hiss Co., 113 Fed. 492, 51 C. C. A. 323; City of Elizbeth v. Fitzgerald, 114 Fed. 547, 52 C. C. A. 321; Crouch v. Gutmann, 134 N. Y. 45, 31 N. E. 271, 30 Am. St. Rep. *507608; 3 Page on Contracts, § § 1385,1386. Tlie ditch here in question was to be six or eig'ht feet wide, and it is not questioned that the plaintiff had the right to dig it “the proper depth necessary, not to exceed three feet in the new ditch.”
Under the evidence, it was a question for the jury whether as dug it was more than three feet deep, and, if so, whether its depth was so little in excess of what was contemplated as to constitute no material deviation from the requirement of the contract in this connection, and to entail no loss or injury upon the defendant. In this state of the evidence the defendant was not entitled to a ruling to the effect that digging the ditch more than three feet deep constituted a material departure from the provisions of the contract. The foregoing considerations disclose the incorrectness of the propositions involved in the second and eighth written charges refused to the defendant. Under those instructions, the jury would have been required to treat any deviation by the plaintiff from the provision referred to, however trivial or substantial as vitally affecting the plaintiff’s rights under the contract.
Another claim set up by the defendant was that he was not chargeable with any part of the cost incurred by the plaintiff in widening the old ditch. This claim is based upon the contention that the stipulation on the part of the plaintiff “to clean out and open the old ditch” did not authorize him to incur any expense in widening that ditch. This clause of the contract also is to be construed in the light of the situation dealt with by the parties and of the object sought to be accomplished. The new ditch provided for was to be connected with the old ditch mentioned, and the latter was to furnish .the outlet to Cat creek. The result in contemplation was in reality one drainage ditch, which was to *508be lengthened by the digging of what was called the “new ditch,” the water from which was to go ont through the old ditch. The language of the contract is to be read in the light of this state of fact. The plaintiff agreed to “dig ditch through Cypress pond, and to clean out and open the old ditch.” Immediately following this provision is the stipulation that the plaintiff “is to dig this ditch not less than six or eight feet wide and the proper depth necessary, not to exceed three feet in new ditch.” In view of the fact that the parties were providing for one continuous ditch, it seems probable that the words “this ditch” as used in the clause just quoted were intended to refer to the entire ditch provided for in the immediately preceding stipulation, and not merely to the new ditch; and this view is strengthened by the circumstance that in the provision in that clause intended to apply only to the new ditch it is mentioned specifically. As the new ditch was not to be not less than six or eight feet wide, and as the evidence showed that in some places the old ditch was only about four feet wide, it cannot be said that to give the language last quoted the effect of authorizing a widening of the old ditch where that was necessary to make it conform in capacity to the ditch which was to connect with it would be in disregard of the intention of the parties as expressed in the contract. But, assume that this particular provision was intended to refer alone to the new ditch, and that the plaintiff’s right to recover for work done on the old ditch is under the provision requiring him “to clean out and open the old ditch.” The counsel for the appellant construe these words as requiring no more than a removal from the old ditch of the trash and deposit accumulated in it. This much would have been required of the plaintiff if he had undertaken merely to clean out the old *509ditch. We are of opinion that this construction unduly narrows the import of the words used when considered in the connection in which they are found. Manifestly the purpose of providing for the cleaning out and opening of the old ditch was that it might be made an effective part of the drainage project undertaken to he carried out. It was to be the means of letting off water from the land. Through it was to he discharged an additional volume of water to he brought into it by a new ditch which was to he six or eight feet wide and about three feet deep. This being true, it is not improbable that the parties deemed it advisable so to open up the old ditch as to give it a corresponding width throughout, so that the passage of the volume of water which would flow into it would not he impeded as a result of its being too narrow in some places. And we are of opinion that the words used are to he construed as expressing this purpose. One of the accepted meanings of the word “open” is “to form by cutting, cleaving, removing or pushing aside whatever impedes or hinders.”- — Century Dictionary. The connection and the subject- matter dealt with indicate that it was in some such sense that that word was used in the provision in question. The conclusion is that the requirement “to clean out and open the old ditch,” under the circumstances surrounding the making of the contract under consideration, called for, not merely the removal of the rubbish which had accumulated in that ditch since it Avas dug, but for such a widening of it in narrow places as to make it throughout an unobstructed outlet for the water to be drained into it. Such a widening of that ditch where it was necessary to make it conform to the plan of the drainage project .of which it was to be a part cannot fairly he said to have been beyond the requirements of the provision under consideration. It follows *510from this conclusion that the court was not in error in refusing to give written charges 3, 4, 5, and 6, requested by the defendant.
In the course of his examination as a witness the plaintiff testified: “The place where the ditch is more than three feet deep is down near the edge of a hillside. The swamp is right under the edge of a hillside. The new ditch was to meet the old ditch. He dug the new ditch first in the summer, and in the fall went back to deepen it. When we came up the new ditch and the water stood there where the new ditch and the old. ditch came together, and the new ditch had to be made deeper. The water in the ditch was the only level we had.” In this connection the witness was asked the question: “Was that ditch dug any deeper than was necessary in order to make it take off the water?” The court was not in error in overruling the defendant’s objection to this question. The question called, not for a mere conclusion of the witness, but for a mere matter of observation as to whether at that point, where there was an elevation of the surface, the ditch was made any deeper than was required to let the water flow from it into the old ditch with which it was to connect. Besides, the witness was shown to be qualified by knowledge and experience to give an opinion on the subject inquired about which was admissible as evidence.
Enough has already been said of the conflict in the evidence to indicate the conclusion that the defendant was not entitled to the general affirmative charge requested in his behalf.
Affirmed.