An inspection of the written contract between the parties shows that no provision is made in it for excavating rock beyond the perpendicular lines of the avenue. It does provide that “ the slopes in excavation of earth will be required to have one of base to one of height.” That excavation of earth, outside of the perpendicular line, which would be necessary to make the slope equal to one of base for one of height, was, therefore, within the specification, and would be necessarily returned by the surveyor in his measurement. But no such provision exists in the contract as to rock excavation. Had a perpendicular wall of rock been left on each side of the avenue the contract would have been performed. It is said by the plaintiff that the excavation of rock slopes outside the perpendicular line was necessary, and he offered testimony to show that it was impossible to do the work without slopes “ unless you cut with hammer and chisel.” This evidence would only prove that while the contract did not call for slopes in rock excavation outside of the perpendicular line, still it was easier and cheaper for the contractor to make them by blasting or otherwise than it was to do the work in another manner. The answer to any claim of the plaintiff for compensation for such rock excavation outside the perpendicular line is that the contract does not call for it, and if the contractor finds it easier or necessary to do it, in fulfilling what the contract does call for, then it falls within the provision, “ that in case any other work is required to be done *119an order to carry out the provisions of the agreement,” the contractor “ will do the same without any claim for extra compensation therefor.” It is quite apparent that this contract intended to exclude any claim for' such slopes in rock excavation, and the plaintiff had notice that such was the construction of the contract by the street commissioner early in the prosecution of the work, and afterwards as often as the surveyor made his returns relative to the work done.
There is another provision in the contract by which the plaintiff is bound.» It is the covenant “ that the return of the city surveyor having charge of the work shall be the account by which the amount of materials furnished and work done shall be computed, and that he shall not be entitled to demand or receive payment for any portion of the aforesaid work or materials, until completed and such completion duly certified by the surveyor.” In the absence of evidence of fraud, collusion or unreasonable refusal, the certificate of the city surveyor in chai’ge of the work is a condition precedent to any right of the plaintiff to recover. If given in good faith it concludes the rights of both parties (Smith agt. Briggs, 3 Den., 73; Wyckoff agt. Meyers, 44 N. Y., 144; Adams agt. Mayor, 4 Duer, 308; Butler agt. Tucker, 24 Wend., 449). Of course, if a surveyor, architect or other person fraudulently or unreasonably refuses a certificate, the plaintiff may, on proof of such facts, recover on a guantum meruit (Smith agt. Brady, 17 N. Y., 176; United States agt. Robeson, 9 Peters, 319, 375; Thomas agt. Fleury, 26 N. Y., 33). But no such refusal was shown in this case. The rock slope outside of the perpendicular line was not a part of the work under the contract, which the contract required the contractor to perform. If he, nevertheless, made such rock excavation, it was done to facilitate his performance of the contract work. He has no claim, under the contract, to be paid for it.
Nor is the plaintiff benefited by the testimony as to an alleged custom among contractors to include slopes in rock excavation. The testimony of usage in similar cases was not *120admissible to interpret or control the contract in question. There is nothing ambiguous in it, nor any intention respecting it which usage should supply. Custom cannot be set up against the plain terms of a contract. The surveyor testified that “ this contract was an exception to ordinary contracts.” It was competent for the parties to make it so, and when they have made it, its terms must be resorted to when it is to be interpreted, and not custom. Whenever the terms of a contract indicate an intention different from the usage in similar cases, the terms of the contract must prevail (Randall agt. Russell, 5 Dana, 501; Wheeler agt. Newbold, 16 N. Y., 392; Dykers agt. Allen, 7 Hill, 501; Higgins agt. Moore, 34 N. Y., 422).
Besides, it would require strong evidence of settled and uniform usage to establish it; and, even then, it could not be allowed to control or take the place of a contract deliberately made; for that would be not only to thwart the contract, but to give to it an effect which the parties may not have intended.
We think the exceptions of the defendants in the particulars above indicated were well taken; that the verdict should be set aside and a new trial ordered, with costs to abide the event.
Ingraham, P. J., concurred.