delivered the opinion of the
court:
Plaintiff, J. J. Harrington & Cо., a real estate brokerage firm, filed a declaratory judgment action against defendants, Emma Timmerman and Sophie Feddeler, in the circuit court of Cook County to determine the right to $50,000 being held by plaintiff as earnest money under a contract to purchase real estate. Plaintiff appeals frоm a judgment of the trial court dismissing the complaint for failure to state a cause of action, and also appeals from an order denying a motiоn to vacate the judgment and denying leave to file an amended complaint. The issues are whether count III of the complaint states a cause of action, and whether the court erred by denying plaintiff’s motion to vacate the judgment and for leave to file an amended complaint.
In 1966, defendаnts Timmerman and Feddeler retained plaintiff as exclusive broker and agent for the purpose of selling certain real estate, and a written brokerage agreement was executed by defendants. On February 10, 1968, Emma Timmerman sent a letter to plaintiff canceling the contract on five days’ notice, as required by the original agreement. However, on September 11,1968, defendants entered into an installment contract with the American National Bank and Trust Compаny of Chicago for the sale of the subject real estate which stated that plaintiff was entitled to the commission for the sale, and a sum of *50,000 was deposited with plaintiff as earnest money.
The sale was never consummated because the person signing on behalf of the bank was the attorney for Lee аnd Barbara Romano, the owners of the beneficial interest in the trust of which the bank was trustee, and he had no authority to sign on behalf of the bank.
In October оf 1969, Lee and Barbara Romano filed suit for specific performance of the written contract against defendants, and the court granted defendants’ motion for a judgment on the pleadings, specifically finding the contract was unenforceable because the person signing on behalf of the bank was not authorized to do so. That decision was affirmed in the case of O’Hare International Bank v. Feddeler (1973),
Plaintiff brought the instant action on June 2,1975, to ascertain the right to the *50,000 deposited by the Romanos as earnеst money under the contract with defendants. On August 25, 1975, the complaint was amended to add count III, by which plaintiff claimed *42,500 as its brokerage fee for finding a buyer for dеfendants, and count IV, a claim in quantum meruit for services rendered in the amount of *42,500.
On July 28, 1975, defendants filed a motion to strike and dismiss the complaint, alleging, inter alia, thаt the complaint did not state a cause of action because there was no valid contract for the sale of the subject property, аnd that plaintiff failed to procure a ready, willing and able purchaser for the property in question. On October 29, 1975, the trial court granted defendants’ motiоn pursuant to section 45 of the Civil Practice Act (Ill. Rev. Stat. 1973, ch. 110, par. 45) with respect to all counts with prejudice. On November 18, 1975, plaintiff filed a motion to vaсate the order of October 29,1975, and for leave to file an amended complaint, and on November 20, 1975, the court denied the motion.
The relevant portion of count HI provides as follows:
“4. On or about Februаry 19,1968, plaintiff procured purchasers for said property who were ready, willing and able to purchase said property at the established price and who deposited the sum of *50,000.00 earnest money with plaintiff and caused to be executed a contract for the purchase óf said property. A сopy of that contract is attached to the Complaint as Exhibit C and is hereby incorporated by reference.”
Plaintiff contends that it earned a сommission by producing a buyer who was ready, willing and able to purchase the property without regard to whether the transaction was actually comрleted, and argues a cause of action was stated by alleging those facts in count III. In the case of Sharkey v. Snow (1973),
“In order to state a cause of action against defendants, it is clear that plaintiff is required to allege in his complaint that he produced a buyer for the subject premises, who was rеady, willing and able to purchase the same on terms specified in the listing agreement, and no others. (Sattler v. Oliver,138 Ill. App. 210 , Aff’d.233 Ill. 536 ; See also: I.L.P. Brokers §78 and cases therein cited).”
Defendants contend that by incorporаting by reference the September 11, 1968, contract as part of paragraph 4, plaintiff identified the buyer as the American National Bank because the contract describes the bank as the purchaser. Defendants argue that no cause of action was stated because it had been determined in the O’Hare International Bank case that the bank had no interest in the transaction.
The law is well settled that an action should not be dismissed pursuant to section 45 of the Civil Practice Act (Ill. Rev. Stat. 1973, ch. 110, par. 45) for failure to state a cause of action, unless it clearly appears that no set of fаcts could be proved under the pleadings which would entitle plaintiff to relief. (Courtney v. Board of Education (1972),
The recovery of a real estate brokerage commission is not dependent upon the consummation of a sale (Wolfenberger v. Madison (1976),
The contract is relevant to the proceedings, howevеr, because it establishes that *50,000 earnest money was paid, which indicates the existence of a ready, willing and able buyer, and the contract identifies рlaintiff as being entitled to the commission.
It is apparent that plaintiff’s complaint did state a cause of action, and it was clearly an abuse of discretion for the court to deny the motion to vacate the judgment and to deny the amendment to count III which clarifies the interest which the Romanos had in thе litigation.
For these reasons the judgment of the circuit court of Cook County is reversed and the cause is remanded for further proceedings not inconsistent with this opinion.
Reversed and remanded.
STAMOS and PERLIN, JJ., concur.
