The Church of the Holy Spirit (Church) sued its contractor, Bevco, Inc. (Bevco), and Bevco’s bonding company, Fidelity and Deposit Company of Maryland (Fidelity), for damages from breach of a construction contract and performance bond, i.e., faulty painting of the Church’s parish center. Bevco filed a third-party action against its subcontractor, *301 Universal Terrazzo & Tile Co. (Universal), which had painted the building’s exterior. Bevco counterclaimed against the Church for payment of services rendered under the contract. Universal counterclaimed against Bevco for payment of services rendered under the subcontract. We .affirm in part, reverse in part, and remand with directions.
In 1976 the Church entered a written contract with Bevco for construction of a parish center. Bevco subcontracted the exterior painting to Universal for $6,276. This written contract between Bevco and Universal contained: ‘‘X. To be bound to the Contractor by the terms of the general conditions of the specifications and addenda, and to conform to and comply with the drawings and specifications and addenda, and to assume toward the Contractor all the obligations and responsibilities that the Contractor assumes in and by the aforesaid documents toward the Owner, in so far as they are applicable to this particular sub-contract”; ‘‘XIV. To guarantee his work against all defects of materials or workmanship, as called for in the plans, specifications and addenda, or if no guarantee is called for, then for a period of one year from the date of completion of the work covered by this agreement”; and ‘‘Payment to the Subcontractor shall be made propmtly [sic] after the Contractor is paid by the owner.”
John Tilly, architect for the Church, inspected the work of the contractors. Between November 11 and December 16, 1977, Universal applied the initial exterior coating of Deseo Tonecrete. According to manufacturer’s specifications, Deseo Tonecrete should be applied and allowed to cure at a minimum temperature of 40° Fahrenheit and the backing of such application should have a maximum of 16-percent moisture content. Universal painted on some days when the temperature was less than 40° Fahrenheit and on other days when it rained or snowed. On December 13 Tilly discovered that Universal was applying the incorrect color of paint and *302 ordered the painting stopped. It was too late in the year to repaint, and the building’s expansion control joints remained open during the winter.
The Church selected another color of paint in May 1978. Universal finished applying the new paint in August, and later in August Tilly rejected Universal’s work because there were “color variations” and “bleached-out” areas. To prevent the paint’s cracking around expansion control joints, Tilly ordered removal of caulking from those joints in October. In November the Church selected transparent sealer, which Universal later applied in May 1979. Because Universal’s application of the sealer was not uniform, Tilly rejected that work. In the fall of 1979 Universal said it would not correct the exterior sealer-coating. Between the fall of 1979 and January 1980 the exterior paint peeled and deteriorated. Such condition has never been corrected.
In January 1981 the Church sued Bevco and alleged Bevco’s breach of contract consisted of “improper exterior wall coating and caulking resulting in lack of uniformity in color, thickness and texture, discoloration, cracking, peeling . . . .” Bevco responded by filing an answer admitting the construction contract but generally denying any breach of contract. With its answer Bevco filed a counterclaim against the Church, seeking $16,750 in payment for services rendered under the contract. Bevco then filed a third-party action against Universal, alleging the provisions of paragraphs X and XIV of the subcontract, and further alleging that Universal was liable for any faulty painting. In the third-party action Universal filed an answer containing only a general denial, and also filed a counterclaim against Bevco for payment under the subcontract in the amount of $6,276. Neither Bevco nor Universal raised any affirmative defense regarding the Church’s claim for faulty painting.
Tilly, the architect, testified that he did not know the cause of the paint’s peeling. The Church also *303 called an expert witness, painter Leroy Gustafson, who testified that the cost of correcting the condition of the painting was $29,117. Gustafson further testified that moisture entering the uncaulked expansion joints could have caused the poor condition of the painting. At the conclusion of the Church’s case Bevco and Universal separately moved to dismiss the Church’s claim for faulty workmanship. These motions were overruled.
Bevco called a witness who testified that Universal initially applied the paint when temperatures were below and moisture levels were above the manufacturer’s specifications. According to Bevco’s witness, Universal’s failure to comply with the manufacturer’s specifications caused the paint to peel. On account of such condition the Church did not accept the painting and did not pay Bevco. At the conclusion of Bevco’s case Universal moved for a directed verdict on Bevco’s third-party complaint because Bevco had not paid for the subcontracted painting. The trial court overruled the motion.
During Universal’s case in chief, witnesses described the manner of application and the subsequent condition of the paint on the parish center. Universal introduced the manufacturer’s written instructions for application of the paint used. At the close of all the evidence Universal again asked dismissal of Bevco’s third-party complaint. The trial court overruled Universal’s motion regarding Bevco. Then both Bevco and Universal renewed their motions to dismiss the Church’s action. The trial court overruled these motions.
The trial court instructed the jury: “Before third-party plaintiff Bevco, Inc. can recover on its Third-Party Petition against third-party defendant Universal Terrazzo and Tile Co., it must first be determined by the jury that the plaintiff is entitled to recover against Bevco, Inc.,” and that Bevco must prove the “amount of damages sustained by Bevco” as a result of any breach of the subcontract by Uni *304 versal. The court further instructed: “If you find for Bevco on its Third-Party Petition against Universal, it will be your duty to award such damages as will fairly and reasonably, but not excessively, compensate Bevco for damages which it has sustained. The measure of damages is the amount of recovery that is awarded to plaintiff in its Petition against the defendant Bevco for the failure to properly apply the wall covering, if in fact you find such amount is owing.” Bevco had requested and the court refused an instruction which included: “[I]f you find that the damages suffered by the Church were caused by the work performed by Universal. . . then you must find Universal liable to Bevco for such damage.”
During the course of deliberations, the jury asked additional instruction regarding the third-party action, namely, if the jury found in favor of the Church against Bevco, would such finding “have a bearing on how we are to go” in disposing of Bevco’s third-party complaint against Universal? The trial court responded: “This is a question which must be determined by you in light of all the instructions,” and no further instruction was given to the jury. The jury returned a verdict in favor of Bevco on its third-party complaint and assessed damages at “$0.” The trial court told the jury that the verdict for Bevco on the third-party complaint was “no verdict at all” and “that if [the jury] finds for Bevco, Inc. on its Third-Party Petition [sic], it must assess Bevco’s damages.” After further deliberations the jury returned a verdict for Bevco against Universal in the amount of $500. The jury also returned verdicts in favor of the Church against Bevco in the amount of $29,117, for Bevco against the Church in the amount of $16,750, and for Universal against Bevco in the amount of $6,276.
Post-trial motions were filed. On account of the performance bond, the Church requested an attorney fee of $12,091.25 pursuant to Neb. Rev. Stat. *305 § 44-359 (Reissue 1978). The court allowed an attorney fee of $7,500 as a part of the costs to be paid by Fidelity. Bevco asked the trial court to increase Bevco’s judgment against Universal from $500 to $29,117 or grant a new trial on the issue of damages in the third-party action. The trial court set aside the verdict of $500, as requested by Bevco, and granted a new trial in the third-party action on the question of damages. Bevco also requested prejudgment interest on the amount awarded on its counterclaim against the Church, but this request was denied. The Church’s judgment against Fidelity was reduced to $12,367, that is, the difference between the damages awarded the Church and the amount awarded Bevco on its counterclaim against the Church.
Bevco assigns as errors of the trial court (1) the refusal to increase Bevco’s verdict against Universal from $500 to $29,117 and (2) the disallowance of pre judgment interest on Bevco’s counterclaim.
Fidelity claims error in the amount of the attorney fee allowed by the trial court.
Universal contends the trial court erred by (1) failing to sustain (a) Universal’s motion to dismiss at the end of the Church’s case and (b) Universal’s additional motion for dismissal at the conclusion of all the evidence; (2) failing to sustain the motion for a directed verdict against Bevco because Bevco had not paid Universal for work under the subcontract; and (3) granting a new trial to Bevco on the issue of damages sought in the third-party action.
Confusion existed at trial regarding disposition of the third-party action. Therefore, it is necessary to review the nature and function of a third-party action pursuant to Neb. Rev. Stat. § 25-331 (Reissue 1979).
Section 25-331 is patterned on Rule 14 of the Federal Rules of Civil Procedure. See, Statement on Legislative Bill 763, Committee on Judiciary, 77th *306 Leg. (Feb. 27, 1967); Minutes, Committee on Judiciary, L.B. 763, 77th Leg. (Feb. 27, 1967). “The general purpose of Rule 14 is to avoid two actions which should be tried together to save the time and cost of a reduplication of evidence, to obtain consistent results from identical or similar evidence, and to do away with the serious handicap to a defendant of a time difference between a judgment against him, and a judgment in his favor against the third-party defendant.” 3 J. Moore, Moore’s Federal Practice ¶ 14.04 at 14-26 (2d ed. 1983). Also, “A third-party claim may be asserted . . . only when third party’s liability is in some way dependent on the outcome of the main claim or when the third party is secondarily liable to defendant.” 6 C. Wright & A. Miller, Federal Practice and Procedure: Civil § 1446 at 246 (1971).
Availability and proper use of third-party practice was described in
United States v. Joe Grasso & Son, Inc.,
The policy underlying third-party practice is to avoid circuity of actions and multiplicity of suits, as
*307
well as to expedite the resolution of secondary actions arising out of or as a consequence of the same facts involved in the action originally instituted. See
Colton v. Swain, 527
F.2d 296 (7th Cir. 1975). The basic function of third-party practice is the original defendant’s seeking to transfer to the third-party defendant the liability asserted by the original plaintiff. See
Tower Mtg. Corp. v. Reynolds,
In this case the Church claimed faulty painting. In the subcontract Universal indemnified Bevco, viz, Universal assumed “toward [Bevco] all the obligations and responsibilities that the Contractor assumes . . . toward the [Church].” Because Bevco could be liable, and according to the jury was liable, to the Church, an attempt to transfer such liability to Universal was permissible under § 25-331.
A third-party defendant can be bound by the adjudication of the main claim. See, 3 J. Moore,
supra
at ¶ 14.13;
Council Brothers, Inc. v. Ray Burner Company,
As stated in
Caputo v. U.S. Lines Company,
Neither Bevco nor Universal raised any affirmative defense regarding any aspect of the entire proceedings. Apart from Bevco’s counterclaim against the Church, the only question for the jury regarding the main claim was whether improper application of the paint caused the peeling condition. The jury found that damages were caused by Universal’s faulty painting. Although the jury awarded damages to the Church, the trial court’s instruction regarding the third-party action confused the jury. The jury awarded Bevco an amount different from the damages awarded to the Church, so that there were inconsistent verdicts. To conclude the question of responsibility for payment of damages caused by the faulty painting, the trial court should have instructed in substance: If there was a verdict for the Church, the jury also must return a verdict in favor of Bevco against Universal in the same amount awarded in the Church-Bevco verdict. Bevco’s post-trial motion would have corrected the inconsistent verdicts. The District Court erred in overruling Bevco’s motion in that regard.
Bevco contends that it is entitled to prejudgment interest on the amount awarded on its counterclaim against the Church. Prejudgment interest on a contract claim is allowed under Neb. Rev. Stat. § 45-104 (Reissue 1978), where the amount is liquidated. A claim is liquidated if the evidence furnishes data which, if believed, makes it possible to compute the amount with exactness, without reliance upon opinion or discretion.
Classen v. Becton, Dickinson & Co.,
Addressing Fidelity’s assignment of error regarding the attorney fee awarded by the trial court, Fidelity believes the attorney fee of $7,500 is excessive, because Fidelity should not have to bear an award of an attorney fee attributable in part to the Church’s defense against Bevco’s counterclaim. On several occasions we have indicated the factors considered by a court in determining a reasonable attorney fee. See,
Stephens v. Allied Mut. Ins. Co.,
Universal complains that the trial court should have dismissed the third-party complaint of Bevco, because Bevco had not paid Universal the subcontracted compensation of $6,276. The agreement between Bevco and Universal expressly provided that Universal was entitled to be paid after Bevco was paid by the Church. In turn, the Church was obligated to pay Bevco upon acceptance of the work. Further, Universal did not raise any affirmative defense, such as Bevco’s nonperformance of the subcontract. An affirmative defense must be pleaded in a contract action, and a general denial is not sufficient to raise any affirmative defense.
Morearty v. City of McCook,
Finally, Universal contends the trial court should
*311
have sustained Universal’s motions for a directed verdict on the Church’s claim. After Universal’s motion for a directed verdict was overruled at the end of the Church’s case, a witness described Universal’s application of the paint. Such evidence was adduced by Universal’s cross-examination of Bevco’s witness and as a part of Universal’s case in chief. Universal took the risk of aiding the Church’s case by presentation of evidence, either in cross-examination of Bevco’s witness or in presenting its own case in an attempt to defeat a recovery by the Church. The evidence produced by Universal helped establish the cause of the peeling paint, namely, noncompliance with the manufacturer’s specifications for application of the paint. There can be no complaint by Universal that it supplied information to buttress or even prove the Church’s cause of action. See
Kentucky Aerospray v. Mays,
Universal also contends that at the close of all the evidence the trial court should have sustained Universal’s second motion for a directed verdict on the question of faulty painting. A motion for a directed verdict at the conclusion of all the evidence is judged in the light of the total evidence at the time such motion is made, that is, the evidence as it stands at the close of the trial, and such motion is not determined only on the evidence existing at the
*312
time of the initial motion at the close of an adversary’s case. See, 89 C.J.S.
Trial
§ 668 (1955);
Abston v. Medora Grain, Inc.,
Finally, Universal alleges error in granting a new trial to Bevco in the third-party action. In view of the disposition which we direct concerning the third-party action, we need not dispose of Universal’s assignment of error in this regard.
We affirm the following judgments of the District Court: The judgment in favor of the Church against Bevco in the amount of $29,117; the judgment in favor of Bevco on its counterclaim against the Church in the amount of $16,750; the judgment in favor of the Church against Fidelity in the amount of $12,367; the judgment in favor of Universal against Bevco in the amount of $6,276; and the judgment awarding the Church an attorney fee of $7,500 as costs taxed to Fidelity as a part of the judgment on the performance bond covering Bevco.
We reverse the judgment of the trial court’s granting a new trial to Bevco regarding the third-party action against Universal. It would be futile to remand for a new trial on Bevco’s third-party complaint against Universal, since Universal is already bound by the judgment in the action of the Church against Bevco. Under the circumstances in this case the District Court would be required to direct the jury to return a verdict for Bevco against Universal in the amount of $29,117. Therefore, in addition to reversing the judgment of a new trial *313 granted to Bevco, we remand this matter to the District Court and direct the District Court to enter judgment in favor of Bevco against Universal in the amount of $29,117 as a result of Bevco’s third-party action against Universal.
Concerning costs of the appeal in these proceedings, an attorney fee in the amount of $750 is awarded to the Church and assessed against Fidelity. With the exception of the attorney fee charged to Fidelity in this appeal, the costs of the appeal are taxed to Universal.
Affirmed in part, and in part reversed AND REMANDED WITH DIRECTIONS.
