Court Opinion

ID: 9742246
Source: CourtListenerOpinion
Date Created: 2023-08-26 21:09:08.484599+00
Date Added: 2024-06-11T07:24:29.256785
License: Public Domain

Miller-Lerman, J.
NATURE OF CASE
This contract case, embodied in cases Nos. S-03-941 and S-03-1242, generally involves one transaction, the sale of a business by appellee, Gary’s Implement, Inc. (Seller), to appellant, Bridgeport Tractor Parts, Inc. (Buyer). The transaction was accomplished by execution of several documents on July 15, 1998. The three documents critical to this appeal are labeled: “Agreement,” “Promissory Note,” and “Non-Competition Agreement.” The three documents refer variously to one another. In this lawsuit, Seller generally claimed that Buyer failed to make certain payments due after the sale, and Buyer generally alleged and counterclaimed that Seller improperly competed with it and failed to deliver goodwill and that, therefore, its obligation to make periodic payments to Seller was excused. Buyer sought damages. Buyer did not seek rescission. Buyer’s counterclaim was rejected by a jury, Seller’s claims were successful before the court, and judgment in favor of Seller in the amounts of $612,225 and $20,000 on the Promissory Note and Non-Competition Agreement, respectively, plus interest, was entered by the district court for Morrill County. Buyer appeals. As explained below, we reverse and vacate, and remand for further proceedings.
SUMMARY OF CASE
The business underlying the transaction involved agricultural equipment, more particularly, Seller’s “salvage and used parts business.” In summary, the total purchase price of $1,050,000 was allocated and payable as follows: pursuant to the Agreement, $525,000 was allocated to equipment and inventory to be paid at closing; pursuant to the agreements, $500,000 was allocated to the sale of goodwill to be paid pursuant to the Promissory Note *288over 5 years; and, pursuant to the Non-Competition Agreement, $25,000 was allocated to Seller’s agreement to not compete with Buyer, payable over 5 years.
On October 5, 2000, Seller filed a petition against Buyer in the district court for Morrill County. The petition contained two breach of contract “causes of action.” In its petition, Seller alleged that Buyer had failed to make the separate payments due in 2000 under the Promissory Note and the Non-Competition Agreement. In its answer, Buyer alleged that its obligation to make these payments had been excused as a result of Seller’s violation of the Non-Competition Agreement and Seller’s failure to transfer goodwill, the purchase of which was reflected in the Promissory Note. Buyer alleged it had been damaged. Buyer also filed a counterclaim against Seller. In its counterclaim, Buyer alleged that Seller had breached the Non-Competition Agreement and other promises and sought damages therefor. In view of our disposition of the case, we do not comment on Buyer’s claims for damages.
A trial was conducted over several days. The issue raised in Buyer’s counterclaim as to whether Seller had breached the Non-Competition Agreement was given to the jury, and the issues raised in Seller’s petition as to whether Buyer had violated its payment obligations under the Promissory Note and the Non-Competition Agreement were ultimately decided by the court. The parties do not disagree on appeal with the case having been submitted in this fashion.
During the trial, the parties and the court dedicated considerable time to the meaning of the Non-Competition Agreement and, in particular, to the nature of the business activities not subject to the Non-Competition Agreement and therefore reserved to Seller. After concluding that the Non-Competition Agreement was valid, the court instructed the jury on the meaning of the Non-Competition Agreement and submitted to the jury Buyer’s counterclaim that alleged Seller had breached the Non-Competition Agreement and that Buyer had been damaged thereby. In its instruction summarizing and paraphrasing the Non-Competition Agreement, the court inserted additional language not found in the Non-Competition Agreement. After being so instructed, the jury rejected Buyer’s counterclaim.
*289Pursuant to the jury’s verdict on the counterclaim, on July 22, 2003, the district court entered judgment in favor of Seller on Buyer’s counterclaim and in addition found in favor of Seller on its contract claims that alleged that Buyer’s failure to make payments violated the Promissory Note and the Non-Competition Agreement. The court entered monetary judgment in favor of Seller on these breach of contract claims. Buyer appeals.
As explained below, we conclude that by virtue of its orders and instructions to the jury, the district court concluded that the Non-Competition Agreement was ambiguous, and we do not disagree with this conclusion. However, because the interpretation of the ambiguous Non-Competition Agreement was a question of fact that should have been determined by the jury, we conclude that the district court committed prejudicial error when it instructed the jury as to the meaning of certain provisions within the ambiguous Non-Competition Agreement. Because of this prejudicial error, judgment based on the verdict on the counterclaim must be reversed and vacated, and Buyer’s counterclaim must be properly resubmitted to a jury. Further, it logically follows that the judgment in favor of Seller on its contract claim based on Buyer’s failure to make payments under the Non-Competition Agreement must be reversed, and the resolution of this claim must await a proper jury outcome on Buyer’s counterclaim.
As explained below, we further determine that in this transaction, the Promissory Note representing the sale of goodwill by Seller is inextricably intertwined with Seller’s contractual obligation not to compete as embodied in the Non-Competition Agreement. Thus, the issue of whether the Promissory Note should be enforced as Seller seeks or whether Buyer’s payment obligation under the Promissory Note should be excused or reduced by a damage award or setoff must necessarily follow a proper resolution of Buyer’s counterclaim alleging that Seller violated the Non-Competition Agreement. We therefore conclude that the district court erred in entering judgment in favor of Seller on its breach of contract claim based on Buyer’s failure to make payments under the Promissory Note and that such judgment must be reversed and vacated.
In summary, we reverse and vacate the judgment of the district court entered in favor of Seller on its petition and against Buyer *290on its counterclaim and remand the causes for further proceedings consistent with this opinion.
STATEMENT OF FACTS
Seller is owned by Gary and Joan Phillips and has been doing business in Bridgeport, Morrill County, Nebraska, since approximately 1970. The record reflects that Seller was engaged in at least two separate businesses, a salvage and used parts yard, and a used whole goods business, sometimes referred to as the “sales business,” which sold used tractors, trucks, and farm equipment. On July 15, 1998, Seller entered into the Agreement with Buyer, by which Seller sold its “salvage and used parts business in Morrill County, Nebraska (the ‘Salvage Business’)” to Buyer for a total purchase price of $1,050,000.
The terms of the transaction were carried out in three separate but interrelated documents: the Agreement, the Promissory Note, and the Non-Competition Agreement, all executed on July 15, 1998. The Agreement refers to and incorporates the Promissory Note and the Non-Competition Agreement, both of which are attached as exhibits to the Agreement. The Promissory Note refers to the Agreement. The Non-Competition Agreement refers to the Agreement and the Promissory Note.
Pursuant to the Agreement, Buyer purchased the following assets of the Salvage Business: (1) the equipment, motor vehicles, bookkeeping computer system, and radios used by Seller in the Salvage Business (the equipment); (2) the inventory of the Salvage Business; and (3) all goodwill and other intangible assets of the Salvage Business, including all customer lists and customer names (goodwill). Certain of Seller’s assets were specifically excluded from the sale, including all of Seller’s assets associated with Seller’s business of selling whole used farm equipment and trucks.
Under the provisions of the Agreement, the purchase price for the sale was allocated and was to be paid by Buyer as follows:
(1) $525,000 was allocated to the purchase of Seller’s equipment and inventory and was to be paid at the closing.
(2) $500,000 was allocated to the purchase of Seller’s goodwill. This sum was to be paid in annual payments of $100,000 plus interest at the rate of 6 percent per annum. The first payment was due 1 year after the closing, with additional payments *291due on the same day of each subsequent year until paid in full. This amount was evidenced by the Promissory Note. Under the terms of the Promissory Note, Seller was to provide Buyer with “30 days of written notice” to cure any default under the Promissory Note.
(3) $25,000 was allocated to the Non-Competition Agreement to be executed by Seller and the Phillipses. Buyer agreed to pay Seller and the Phillipses $5,000 per year for 5 years, with the first payment due 1 year from the date of the execution of the Non-Competition Agreement, and with each additional payment due on the same day of each subsequent year.
The Non-Competition Agreement provided in pertinent part as follows:
1. [Seller and the Phillipses] will not, directly or indirectly, for a period of 5 years from the Closing Date:
a. manage, operate, join, control, own, be an employee of, participate or become interested in or be connected with, as a partner, owner, member, shareholder, director, officer, employer or investor, or in any other individual or representative capacity, or otherwise;
b. lend credit or money for the purpose of establishing, operating or otherwise finance;
c. furnish consultation or advice to;
d. sell services on behalf of; or
e. permit their name(s) to be used by anyone other than Buyer, or its successors and assigns;
in connection with any business, partnership, joint venture, corporation, trust or other organization or entity (other than that of Buyer) engaged in the agricultural and machinery salvage and used, new or rebuilt agricultural parts business within 150 miles of Bridgeport, Nebraska.
Paragraph 5 of the Non-Competition Agreement contained the following exceptions:
5. Notwithstanding any other provision to the contrary, this Non-Competition Agreement shall not restrict the following actions of Seller and/or [the Phillipses]:
a. The purchase and sale of antique (1961 and prior year [sic]) vehicle or machinery parts.
b. The purchase and sale of cores on a wholesale basis.
*292Paragraph 6 of the Non-Competition Agreement provided that in the event Seller violated the Non-Competition Agreement, “Buyer . . . shall have a cause of action for any damages caused by the competition . . .
As stated above, on July 15, 1998, Seller and Buyer executed the Agreement. On the same day, Seller, the Phillipses, and Buyer executed the Non-Competition Agreement, and Buyer executed the Promissory Note. Also on July 15, Buyer paid Seller the $525,000 due under the Agreement for the equipment and inventory of the Salvage Business.
Following its purchase of Seller’s Salvage Business, Buyer became concerned that Seller and/or the Phillipses were violating the Agreement and Non-Competition Agreement by salvaging and selling used, nonantique parts; by competing with Buyer for the supply of salvage tractors and machinery; and by trading on the goodwill that Seller had sold to Buyer. This concern arose, in part, due to a series of advertisements Seller published in the Bridgeport area. One of these advertisements, published on November 7, 1998, stated “Save 50% to 80% on used tractor, harvest and farm equipment parts.” Despite these concerns, on July 15, 1999, Buyer paid Seller $105,000, in accordance with the terms of the Promissory Note and the Non-competition Agreement.
Buyer’s concerns about Seller’s adherence to the Agreement and Non-Competition Agreement continued after the July 1999 payment, and David Dyke, one of Buyer’s owners, had several conversations with Gary Phillips in regard to this perceived competition. On June 27, 2000, Buyer, through its attorneys, sent a letter to Seller and the Phillipses, stating, in part, as follows:
[Seller and Gary Phillips] are currently engaging in direct competition with [Buyer] with respect to operating a salvage and used parts business. We understand you are purchasing salvage and used parts inventory and that you are selling the same to the general public to the damage and detriment of [Buyer].
The letter further provided that as a result of
such salvage and used parts business, [Seller and Gary Phillips] are in default of the Non-Competition Agreement and your agreement to sell [Buyer] the goodwill associated *293with the salvage and used parts business purchased by [Buyer]. Because you are selling salvage parts and used parts from [Seller] you are essentially capitalizing on the “goodwill” which you sold to [Buyer],
The letter demanded that “salvage and used parts business activities” engaged in by Seller and the Phillipses cease immediately. The letter further stated that in the event such “competitive activity” did not cease, Buyer would deem the “Non-Competition agreement and the agreement to sell goodwill to have been breached” and that as a result, Buyer would not make the July 15, 2000, payments called for under the Non-Competition Agreement or the Promissory Note. On July 15, Buyer did not pay Seller the payments provided for under the Non-Competition Agreement and the Promissory Note.
On July 21,2000, the attorney for Seller and the Phillipses sent a letter to Buyer’s counsel enclosing a “Notice of Nonpayment” as a result of Buyer’s failure to pay the July 15 payments. Payments were not forthcoming. On October 5, Seller filed suit against Buyer in the district court for Morrill County. In its petition, Seller asserted two causes of action against Buyer. The first cause of action alleged, in summary, that Buyer had breached “the Agreement and the terms of the [Promissory] Note” by failing to make the July 15, 2000, payment of $100,000. The second cause of action alleged, in summary, that Buyer had breached the Non-competition Agreement by failing to make the July 15, 2000, payment of $5,000. For relief, Seller sought the balance due under the Promissory Note and interest, the $5,000 due under the Non-competition Agreement, and postjudgment interest on the Non-competition Agreement.
On October 31, 2000, Buyer filed its “Answer and Counterclaim.” Buyer denied that it had breached either the Promissory Note or the Non-Competition Agreement. Buyer further alleged, in summary, that Seller had competed against Buyer in violation of Seller’s agreement to sell its goodwill to Buyer and in violation of Seller’s agreement not to compete with Buyer. Buyer alleged that as a result of this competition, Seller had breached the Agreement and the Non-Competition Agreement and that, therefore, Buyer asserted it was excused from making payments to Seller under the Non-Competition Agreement and *294the Promissory Note. Buyer alleged it had been damaged. For its counterclaim, Buyer alleged that Seller had breached the Agreement and the Non-Competition Agreement and that Buyer had been damaged thereby, which damages included revenue and inventory losses. For relief, Buyer sought, inter alia, the dismissal of Seller’s petition with prejudice, a finding that Seller had materially breached the Agreement and the Non-Competition Agreement, a finding that Buyer was no longer obligated to make payments due under the various agreements, and damages Buyer had allegedly sustained as a result of Seller’s breaches of the agreements. Buyer did not seek rescission. Seller replied, inter alia, that Buyer had waived its rights under the Non-Competition Agreement by modifying its terms.
The case came on for a jury trial beginning on July 14, 2003, and continuing through July 17. A total of 15 witnesses testified, and over 100 exhibits were offered into evidence. The issue in Buyer’s counterclaim alleging that Seller had violated the Non-competition Agreement was given to the jury, and the issues of whether Buyer had violated its obligations under the Promissory Note and the Non-Competition Agreement were presented to the court.
During the trial, considerable evidence was adduced from the parties describing what the parties believed to be the nature of the Salvage Business sold to Buyer and the nature of the business that had been excepted from the Non-Competition Agreement and retained by Seller. In this regard, Joan Phillips testified that Buyer purchased “the business of the used parts business and the salvage inventory that supported this business” from Seller. She further testified as to her understanding of the term “salvaging,” stating that it meant “[tjaking a part off of a piece of equipment” to either sell individually or use to restore another piece of equipment. She stated that after Seller sold the Salvage Business to Buyer, Seller continued to buy salvage machinery and tractors to “backup [Seller’s] whole goods business” that had been retained by Seller after its sale of the Salvage Business to Buyer. According to Joan Phillips, Seller would take parts off the salvage machinery and tractors it purchased and use those parts to restore or refurbish the used whole goods which Seller sold as part of its “whole goods operation.” Joan Phillips further testified *295that “[w]e agreed in the noncompete not to compete against them in the used parts business.”
Gary Phillips also testified concerning Seller’s business activities after it sold the Salvage Business to Buyer. On direct examination, in response to the question whether Seller continued to operate the used parts business that was sold to Buyer, Gary Phillips testified that “[w]e operated it for our own in-house use on tractors that we were rebuilding.” On cross-examination, Gary Phillips agreed that Seller would buy farm equipment to salvage parts for other farm equipment that Seller was refurbishing. When asked whether that conduct constituted “salvaging,” Gary Phillips said “[y]es” and stated that “[t]hat was part of the business we reserved.”
Dyke testified that he was concerned with Seller’s competition with Buyer following Buyer’s purchase of the Salvage Business. According to Dyke, Seller’s purchase of salvage tractors and equipment conflicted with the goodwill that Seller had sold to Buyer. With regard to the goodwill that Seller had prior to the sale, Dyke testified that Gary Phillips indicated that he
knew everybody and everything that had to do with the farm machinery company in this entire region. He could introduce me to people to buy salvage, he could introduce me to the dealers that traded him salvage ... he could identify what type of the machinery, where to locate it.
In the course of the trial, the district court entered a one-page order dated July 14, 2003, interpreting paragraph 5 of the Non-competition Agreement. Regarding the activities reserved to Seller, the court ruled:
“Notwithstanding any other provision to the contrary, this Non-Competition Agreement shall not restrict the following actions of [S]eller and/or [the Phillipses]: a) the purchase and sale of antique (1961 and prior year [sic]) vehicle or machinery parts . . .” contemplated that [Seller] could salvage parts as long as they were 1961 or prior.
At the close of evidence, the district court instructed the jury. In instruction No. 9, the substance of which Buyer objected to, the district court instructed the jury that Seller’s breach of contract claims were a matter for the court to decide, stating:
*296The Court has determined as a matter of law that the instruments alleged by [Seller] and admitted by [Buyer] are valid and that [Buyer] did not make the payments which were due on July 15, 2000. The Court will determine what are the rights and obligations of the parties in light of these facts. The matter which you must decide is [Buyer’s] Counterclaim.
In instructing the jury on the counterclaim, the district court stated in Instruction No. 9 as follows:
The interpretation of [the Non-Competition Agreement] is [the court’s] responsibility. You are to determine whether the non-competition agreement was breached. Insofar as relevant to the question which you must decide, you are instructed that the proper interpretation of the non-competition agreement is as follows:
1. The agreement did not restrict [Seller’s] purchase, sale, or salvage of antique vehicle or machinery parts (1961 and prior years);
2. The agreement permitted [Seller] to retain its sales business which was the sale of used and rebuilt machinery to include the salvage function that supported that business', and
3. The non-competition agreement was not effective and did not restrict [Seller’s] activities in any way at any time after August 20, 2000.
(Emphasis supplied.)
The jury was also instructed on Seller’s defense that Buyer had waived any of Seller’s breaches of the Non-Competition Agreement and further instructed on Buyer’s damage claim for “the reasonable value of the profits it has lost.”
The case was given to the jury at approximately 3:30 p.m. on July 17, 2003. By 7:35 p.m., the jury had returned a unanimous verdict in favor of Seller on Buyer’s counterclaim, finding that Buyer had not met its burden of proof. In view of the verdict, the jury did not reach the issue of damages, if any, suffered by Buyer. In accordance with the jury verdict, the district court entered judgment in favor of Seller and against Buyer on Buyer’s counterclaim. Thereafter, the district court entered judgment in favor of Seller and against Buyer in the amounts of *297$612,225 on the Promissory Note and $20,000 on the Non-competition Agreement, plus interest from and after the judgment date. Buyer appealed.
ASSIGNMENTS OF ERROR
On appeal, Buyer assigns three errors. Buyer claims, renumbered and restated, that the district court erred (1) in failing to submit Buyer’s entire counterclaim to the jury, incorrectly instructing the jury on the counterclaim, and entering judgment against it on its counterclaim; (2) in entering judgment in Seller’s favor on its breach of contract claims; and (3) in awarding Seller double satisfaction of its claims and subjecting Buyer to forfeiture.
STANDARDS OF REVIEW
The meaning of a contract and whether a contract is ambiguous are questions of law. Big River Constr. Co. v. L & H Properties, 268 Neb. 207, 681 N.W.2d 751 (2004); Wood v. Wood, 266 Neb. 580, 667 N.W.2d 235 (2003). On a question of law, an appellate court is obligated to reach a conclusion independent of the determination reached by the court below. Id.
In an appeal based on a claim of an erroneous jury instruction, the appellant has the burden to show that the questioned instruction was prejudicial or otherwise adversely affected a substantial right of the appellant. Pribil v. Koinzan, 266 Neb. 222, 665 N.W.2d 567 (2003).
ANALYSIS

The Jury Was Improperly Instructed on Buyer’s Counterclaim and the District Court Erred in Entering Judgment Against Buyer on Its Counterclaim and in Favor of Seller on Its Contract Claim Based on the Non-Competition Agreement.

We first address Buyer’s claim that the district court incorrectly instructed the jury on its counterclaim, because resolution of this issue is dispositive of this case. On appeal, Buyer asserts that the district court erred when it instructed the jury in instruction No. 9 with regard to the meaning of the Non-Competition Agreement. Specifically, Buyer argues that the district court prejudicially erred when it added to instruction No. 9 the terms “salvage” and “salvage function that supported that business” to *298the business activities retained by Seller in paragraph 5 of the Non-Competition Agreement. We agree with Buyer that instruction No. 9 constituted prejudicial error requiring that the judgment in favor of Seller and against Buyer on Buyer’s counterclaim be reversed and vacated. Buyer also argues that as a consequence of a reversal of the judgment on the counterclaim, a corresponding reversal of entry of judgment in favor of Seller on its breach of contract claim based on the Non-Competition Agreement is also required. We agree that the resolution of Seller’s breach of contract claim based on Buyer’s failure to make payments under the Non-Competition Agreement must await proper resolution of the counterclaim, and therefore, the judgment in favor of Seller based on Buyer’s alleged violation of the Non-Competition Agreement is also reversed and vacated.
Initially, we note that there is no claim by either party that the Non-Competition Agreement was not valid. The rules of law applicable to this contract case are familiar. A contract written in clear and unambiguous language is not subject to interpretation or construction and must be enforced according to its terms. Spanish Oaks v. Hy-Vee, 265 Neb. 133, 655 N.W.2d 390 (2003). However, a contract is ambiguous when a word, phrase, or provision in the contract has, or is susceptible of, at least two reasonable but conflicting interpretations or meanings. Jensen v. Board of Regents, 268 Neb. 512, 684 N.W.2d 537 (2004). Whether a contract is ambiguous is a matter of law. Big River Constr. Co. v. L & H Properties, 268 Neb. 207, 681 N.W.2d 751 (2004). The meaning of an ambiguous contract is generally a question of fact. Kropp v. Grand Island Pub. Sch. Dist. No. 2, 246 Neb. 138, 517 N.W.2d 113 (1994).
We have stated that a court is not free to rewrite a contract or to speculate as to terms of the contract which the parties have not seen fit to include. Honda Cars of Bellevue v. American Honda Motor Co., 261 Neb. 923, 628 N.W.2d 661 (2001). Rather, when a court has determined that ambiguity exists in a document, an interpretative meaning for the ambiguous word, phrase, or provision in the document is a question of fact for the fact finder. Dammann v. Litty, 234 Neb. 664, 452 N.W.2d 522 (1990). In this regard, we have stated in a jury case that when the terms of the contract are in dispute and the real intentions of the *299parties cannot be determined from the words used, the jury, not the court, should determine the issue from all the facts and circumstances. Luschen Bldg. Assn. v. Fleming Cos., 226 Neb. 840, 415 N.W.2d 453 (1987).
In the instant case, it is apparent that the district court, through its July 14, 2003, order and instruction No. 9, effectively concluded that the Non-Competition Agreement was ambiguous and supplied terms to the Non-Competition Agreement which the parties had not included. As noted, paragraph 1 of the Non-Competition Agreement prohibited Seller and the Phillipses from competing with Buyer “in the agricultural and machinery salvage and used, new or rebuilt agricultural parts business within 150 miles of Bridgeport, Nebraska” for a period of 5 years. The Non-Competition Agreement, however, contained the following exceptions:
5. Notwithstanding any other provision to the contrary, this Non-Competition Agreement shall not restrict the following actions of Seller and/or [the Phillipses]:
a. The purchase and sale of antique (1961 and prior year [sic]) vehicle or machinery parts.
b. The purchase and sale of cores on a wholesale basis.
The Non-Competition Agreement did not provide an explanation as to the meaning of these two exceptions. However, during the trial, the district court in its order of July 14 concluded, inter alia, that paragraph 5 of the Non-Competition Agreement “contemplated that [Seller] could salvage parts.”
Consistent with its July 14, 2003, ruling, in instruction No. 9, when advising the jury on Buyer’s counterclaim, the district court instructed the jury that
the proper interpretation of the non-competition agreement is as follows:
1. The agreement did not restrict [Seller’s] purchase, sale, or salvage of antique vehicle or machinery parts (1961 and prior years);
2. The agreement permitted [Seller] to retain its sales business which was the sale of used and rebuilt machinery to include the salvage function that supported that business.
(Emphasis supplied.) In this instruction, the district court added the language “salvage” and “salvage function that supported that *300business” to paragraph 5 of the Non-Competition Agreement. Upon our review of the district court’s rulings and in particular instruction No. 9, we determine that the district court effectively concluded that the Non-Competition Agreement was ambiguous and that despite that conclusion, through instruction No. 9, interpreted the Non-Competition Agreement, whereas it should have given the issue of the meaning of the ambiguous Non-competition Agreement to the jury.
The meaning of a contract, and whether a contract is ambiguous, are questions of law. Big River Constr. Co. v. L & H Properties, 268 Neb. 207, 681 N.W.2d 751 (2004). On a question of law, an appellate court is obligated to reach a conclusion independent of the determination reached by the court below. Id. In reviewing the district court’s decision that the Non-Competition Agreement was ambiguous, we conclude that the district court did not err. However, once the district court determined that the Non-Competition Agreement was ambiguous, and given the record as we read it, the meaning of the ambiguous contract became a question of fact for the fact finder. See Dammann v. Litty, 234 Neb. 664, 452 N.W.2d 522 (1990). Because it was the role of the jury and not the court to determine the meaning of the ambiguous contract from all the facts and circumstances, the district court erred in instructing the jury as it did in instruction No. 9. See Luschen Bldg. Assn. v. Fleming Cos., 226 Neb. 840, 415 N.W.2d 453 (1987).
In an appeal based on a claim of an erroneous jury instruction, the appellant has the burden to show that the questioned instruction was prejudicial or otherwise adversely affected a substantial right of the appellant. Pribil v. Koinzan, 266 Neb. 222, 665 N.W.2d 567 (2003). When the error in this case consisted of supplying terms to an ambiguous contract in the jury instruction, such error cannot be cured by the giving of other jury instructions. This is so because such an error consists not in the omission of some material fact, but in the affirmative statement by the court as to the existence of a fact which the jury ought to decide. See Wilch v. Western Asphalt Paving Corporation, 124 Neb. 177, 245 N.W. 605 (1932). See, also, Platte Valley Public Power & Irr. Dist. v. Armstrong, 159 Neb. 609, 68 N.W.2d 200 (1955); Nocita v. Guiliano, 130 Neb. 241, *301264 N.W. 672 (1936). We conclude that the error in the giving of instruction No. 9 was prejudicial.
In concluding that instruction No. 9 was prejudicial error, we note that Buyer introduced evidence on its counterclaim designed to show that Seller was buying used tractors and equipment in order to salvage parts to support its whole goods business and that such salvage activity violated the Non-Competition Agreement. Despite Buyer’s allegations, by instructing the jury that paragraph 5 of the Non-Competition Agreement permitted Seller to conduct the salvage activity demonstrated by Buyer’s evidence, there was little if anything factually for the jury to decide on Buyer’s counterclaim. The district court incorrectly removed an issue from the jury and in effect instructed the jury that Seller had not violated the Non-Competition Agreement. Therefore, as noted above, instruction No. 9 constituted prejudicial error that we determine requires reversal of the judgment dismissing the counterclaim entered upon the jury verdict.
As a consequence of this reversal, we turn to the propriety of the judgment in favor of Seller based on its claim that Buyer failed to make payments due under the Non-Competition Agreement. In view of the reversal of the judgment on the counterclaim based on the Non-Competition Agreement, it necessarily follows that judgment in favor of Seller on its contract claim based on the Non-Competition Agreement must be reversed and vacated and await proper resolution of Buyer’s counterclaim.
In sum, the district court’s judgment entered in favor of Seller dismissing Buyer’s counterclaim based on the jury’s verdict is reversed and vacated, and the resolution of the counterclaim is remanded for further proceedings consistent with this opinion. In addition, judgment in favor of Seller based on Buyer’s alleged breach of the Non-Competition Agreement is also reversed and vacated.

The District Court Erred in Entering Judgment in Favor of Seller on the Promissory Note.

Buyer claims that the district court erred in entering a money judgment in favor of Seller on both of Seller’s breach of contract claims which alleged separately that Buyer failed to make payments on the Non-Competition Agreement and the Promissory *302Note. We have explained above that the entry of judgment on Seller’s claim that Buyer violated the payment obligations under the Non-Competition Agreement must be reversed and vacated. As explained below, resolution of whether Buyer improperly failed to make payments under the Promissory Note, or whether Buyer’s payment obligation under this instrument will be excused or reduced, as by a damage award or setoff, must also await a proper resolution of Buyer’s counterclaim, and therefore, entry of judgment in Seller’s favor on its contract claim based on the Promissory Note must also be reversed and vacated at this time.
In answer to Seller’s petition, Buyer alleged, inter alia, that Seller had competed against Buyer, in violation of Seller’s agreement not to compete against Buyer, and that Seller had failed to sell its goodwill to Buyer, the purchase of which would be accomplished under an instrument to pay, denominated “Promissory Note.” We note that the quantity and the quality of Seller’s alleged violations of the agreements were substantial and not trivial and that a finder of fact could find the violations material. Buyer further alleged that by virtue of Seller’s actions, Buyer was excused from making additional payments to Seller under both the Promissory Note and the Non-Competition Agreement. As discussed earlier in this opinion, Buyer counterclaimed, alleging Seller had violated the Non-Competition Agreement, and sought damages therefor. We have concluded that whether Seller violated the Non-Competition Agreement has not yet been properly submitted to the fact finder.
In the instant case, the transaction involving the sale of the Salvage Business was accomplished by three documents: the Agreement, the Promissory Note, and the Non-Competition Agreement. These three agreements were all executed at the same time and in the same place, and shared parties in common. Indeed, the Agreement refers to and incorporates the Promissory Note and the Non-Competition Agreement, the Promissory Note refers to the Agreement, and the Non-Competition Agreement refers to the Agreement and the Promissory Note. The three agreements were related and part of one transaction, and therefore their substance will be read together. See Nowak v. Burke Energy Corp., 227 Neb. 463, 418 N.W.2d 236 (1988). See, also, Lauritzen v. Davis, 214 Neb. 547, 335 N.W.2d 520 (1983); *303Northland Mortgage Co. v. Royalwood Estates, Inc., 190 Neb. 46, 206 N.W.2d 328 (1973); Cedars Corp. v. H. Krasne & Sons, Inc., 189 Neb. 220, 202 N.W.2d 205 (1972).
There is no dispute that the Agreement covered the sale of equipment and inventory and that the Non-Competition Agreement required Seller, with certain exceptions, not to compete with Buyer. Although we are aware of the long-term tax consequences of structuring the transaction as the parties did, we nevertheless determine that as the Agreement states and as the evidence shows, the Promissory Note in fact represented the payments Buyer was to make for acquisition of the goodwill sold by Seller.
We have stated generally that goodwill may be described as “ ‘ “the habit of customers to return to the concern with which they have been previously dealing.” ’ ” Chambers-Dobson, Inc. v. Squier, 238 Neb. 748, 759, 472 N.W.2d 391, 399 (1991) (quoting Meeker v. Stuart, 188 F. Supp. 272 (D.D.C. 1960)). More particularly, we have said that “ ‘good will is that “value which results from the probability that old customers will continue to trade or deal with the members of an established concern.” ’ ” 238 Neb. at 759, 472 N.W.2d at 399 (quoting Jackson v. Caldwell, 18 Utah 2d 81, 415 P.2d 667 (1966)).
We have recognized that where the sale of goodwill is involved in the sale of a business, such as in the instant case, “ ‘the buyer’s interest in what he has acquired cannot be effectively realized unless the seller engages not to act so as unreasonably to diminish the value of what he has sold.’ ” 238 Neb. at 756, 472 N.W.2d at 397 (quoting Restatement (Second) of Contracts § 188, comment b. (1981)). We have explicitly recognized the interrelationship between goodwill and noncompetition in a single transaction, and we so recognize the interrelationship in the instant transaction between Seller’s sale of goodwill under the Promissory Note and Seller’s agreement not to compete under the Non-Competition Agreement. In this regard, we have stated that “a covenant not to compete which is contained in a contract for sale of a business is a seller’s self-imposed restraint from trade and is frequently necessary to make goodwill in the seller’s business a transferable asset and ensure that the buyer receives the full value of acquired goodwill.” 238 Neb. at 756, *304472 N.W.2d at 398. We apply the principles noted above to the instant transaction.
Given the nature of the entire transaction, we determine that Seller’s promise not to compete and Seller’s agreement to sell goodwill, reflected in the Non-Competition Agreement and the Promissory Note respectively, are inextricably intertwined. Given the intertwined nature of the Non-Competition Agreement and the Promissory Note, we further determine that whether payment under the Promissory Note will be enforced or excused, or reduced as by damage award or setoff, must await a proper resolution of whether Seller improperly competed with Buyer as alleged in Buyer’s counterclaim. When agreements are inextricably intertwined, a breach of one agreement may excuse or reduce obligations on the other agreement. For the sake of completeness, we note that our recognition of the effect of the Non-competition Agreement and the Agreement on the instrument to pay is consistent with Neb. U.C.C. § 3-117 (Reissue 2001) (pertaining to negotiable instruments and entitled “Other agreements affecting instrument”). Accord Skiles v. Security State Bank, 1 Neb. App. 360, 365, 494 N.W.2d 355, 359 (1992) (discussing earlier codification of § 3-117, denominated Neb. U.C.C. § 3-119 (Reissue 1980) and repealed in 1991, and noting that code provision “is consistent with longstanding Nebraska case law”).
It is not uncommon for suit on a promissory note to be subjected to a defense. See, e.g., Larsen v. First Bank, 245 Neb. 950, 515 N.W.2d 804 (1994) (discussing duress as defense to promissory note); S.I.D. No. 32 v. Continental Western Corp., 215 Neb. 843, 343 N.W.2d 314 (1983) (discussing fraud as defense to promissory note). See, also, Neb. U.C.C. § 3-305(a) (Reissue 2001) (discussing defenses to negotiable instruments). Indeed, in Midlands Transp. Co. v. Apple Lines, Inc., 188 Neb. 435, 197 N.W.2d 646 (1972), although the obligor challenged enforcement of a promissory note in a “cross-petition” and the obligor’s evidence was insufficient, we suggested that a promissory note was subject to a setoff where the entity entitled to enforce the note had allegedly violated a covenant not to compete. Our opinion in Midlands Transp. Co., endorsing damages as a setoff against a promissory note, is consistent with well-recognized contract law that a minor breach of contract is compensable in *305damages. See Restatement (Second) of Contracts §§ 236, 237, and 241 (1981). We note, however, that a material breach will excuse the nonbreaching party from its performance. Id. Thus, in Electrical Distributors, Inc. v. SFR, Inc., 166 F.3d 1074, 1086 (10th Cir. 1999), it was stated in a case where the breach was material that “because [the breaching party] breached his covenant not to compete, [obligor] was excused from performance, i.e., making payments on the note to [the breaching party].” See, also, England v. O’Flynn, No. 18952, 2002 WL 27314 (Ohio App. Jan. 11, 2002) (unpublished opinion) (affirming decision determining that defendant was not obligated to pay on promissory note when plaintiff had materially breached other related contract).
Elsewhere, the courts have recognized that where a promissory note is connected with certain other contractual obligations, the resolution of enforcement of the note must await resolution of the defenses thereto. Thus, for example, when the seller of a business in a summary proceeding sought to recover moneys owed on a promissory note, the appellate court concluded that denial of a seller’s motion for summary judgment was proper because “the note being sued upon is inextricably intertwined with certain contractual obligations, including a noncompetition agreement, entered into between the parties.” Cohen v. Marvlee, Inc., 208 A.D.2d 792, 618 N.Y.S.2d 62, 63 (1994). The court in Cohen continued by stating: “While generally the breach of a related contract cannot defeat a motion for summary judgment on an instrument for money only, that rule does not apply where the contract and instrument are intertwined ....” Id. Similarly, in a termination of employment case involving a promissory note for severance pay and redemption of an employee’s shares made in connection with a master termination agreement, the appellate court affirmed the denial of the former employee’s motion for summary judgment on the note, stating that
one of the defenses [to enforcement of the promissory note] is predicated upon the anti-competition provisions contained in the Master Agreement [and] given the fact the Master Agreement and the promissory note are intertwined, [the former employer] has shown the existence of a triable issue of fact with respect to a bona fide defense ....
*306Lavelle v. Urbach, Kahn & Werlin P.C., 198 A.D.2d 751, 751-52, 604 N.Y.S.2d 614, 615 (1993). See, also, Eurotech Development v. Adirondack Inc., 224 A.D.2d 738, 636 N.Y.S.2d 956 (1996); Regal Limousine v. Allison Limousine Service, 136 A.D.2d 534, 523 N.Y.S.2d 154 (1988).
In response to Seller’s claim seeking to enforce the Promissory Note, Buyer, in part, alleged as a defense that Seller had breached the Non-Competition Agreement and that such breach excused Buyer’s obligation to make further payments under both the Promissory Note and the Non-Competition Agreement. We have determined that there is an interrelationship between the Non-Competition Agreement and the Promissory Note, and as noted above, adherence to the agreement not to compete is often critical to the transfer of goodwill. It therefore follows that the jury’s finding on Buyer’s counterclaim alleging Seller violated the Non-Competition Agreement necessarily must precede any decision on Seller’s breach of contract claim based on the Promissory Note, because in this case, a breach of the Non-Competition Agreement can excuse or reduce payment under the Promissory Note. Accordingly, we reverse the judgment in favor of Seller on the Promissory Note and remand the causes for further proceedings consistent with this opinion.

Remaining Assignments of Error.

Having concluded that the district court erred in instructing the jury with regard to Buyer’s counterclaim and erred in entering judgment in Seller’s favor on both of its breach of contract claims, we do not address Buyer’s remaining assignments of error. An appellate court is not obligated to engage in an analysis which is not needed to adjudicate the controversy before it. Livingston v. Metropolitan Util. Dist., 269 Neb. 301, 692 N.W.2d 475 (2005).
CONCLUSION
We conclude that the district court prejudicially erred in instructing the jury with regard to the Non-Competition Agreement and that the issues on the counterclaim must be resubmitted to the fact finder. Judgment against Buyer on its counterclaim and judgment in favor of Seller on the Non-Competition Agreement are both reversed and vacated. We further determine that the *307Non-Competition Agreement and the Promissory Note are inextricably intertwined and that enforcement of the Promissory Note must be determined after the issues related to the Non-competition Agreement are resolved. We therefore conclude that the district court erred in entering judgment at this time in favor of Seller and against Buyer on Seller’s claim that Buyer breached the Promissory Note.
For the reasons stated above, we reverse and vacate the district court’s judgment in its entirety and remand the causes for further proceedings consistent with this opinion.
Reversed and vacated, and causes remanded FOR FURTHER PROCEEDINGS.