*544 Opinion
Plaintiff Plumlee appeals from an order of dismissal entered after the court sustained defendants’ general demurrer, without leave to amend, to appellant’s second amended complaint for breach of contract. Two issues are before this court: First, whether Plumlee’s claim is barred for failure to comply with the limitations period contained in Probate Code sеction 714; and second, whether the alleged oral contract is subject to the defense of the statute of frauds as contained in Civil Code section 1624, subdivisions 1 and 6. We will decide both issues in favor of Plumlee and reverse.
Facts and Proceedings Below
Respondents Poag and Price are the appointed executors, and respondent Treharne the appointed administator-with-will-annexed, of the estate of Ben Weingart, who died on December 22, 1980. Following publication by respondents of the notice required by Probate Code sections 333 and 700. 1 Plumlee timely filed a creditor’s claim against the estate for $180,000. He received notice of rejection of his claim pursuant to Probate Code section 714 on November 6, 1981.
On January 26, 1982 Plumlee filed a complaint for breach of cоntract in the Superior Court of Los Angeles County, naming as defendants “John Poag, Sol Price, [and] Gordon W. Treharne.” 2 The complaint sought damages of $180,000 for breach in 1978 of a 1971 contract between Plumlee and Weingart whereby Plumlee was to be employed “until at least 10 years after the death of Ben Weingart.” The complaint 'further alleged that following Weingart’s death in December 1980 respondents Poag and Price were appointed executors, and respondent Treharne administrator-with-will-annexed, of Weingart’s estate; and that notice of rejection of Plumlee’s claim against the estate was received by him on November 6, 1981.
On April 6, 1982, Plumlee filed a first amended complaint of course pursuant to section 472 of the Code of Civil Procedure, identical to the original complaint save the addition of one clause to the alleged contract: The term of Plumlee’s employment was to be until at least 10 years after Weingart’s death, “so long as [Plumlee] reduced the then existing annual *545 shrinkage of Ben Weingart’s linen supplies from a national average ranging from 17 percent to 25 percent annually to a lower level and continued to maintain a lower level. ” (Italics supplied.)
Respondents demurred to the first amended complaint on the following grounds: 3 (1) That by naming respondents as defendants individually Plumlee failed to bring suit “against the executor or administrator” within three months after service of the notice of rejection of claim, as required by section 714 of the Probate Code; 4 and (2) that the alleged contract was unenforceable under the provisions of section 1624, subdivisions 1 and 6 of the Civil Code, which provide respectively that in the absence of some note or memorandum in writing subscribed by the party or his agent, agreements that by their terms are not to be performed “within a year from the making thereof,” or “during the lifetime of the promissor,” are invalid.
Respondents’ demurrer was sustained with leave to amend. On June 16, 1982, appellant filed a second amended complaint, at issue on this appeal. The second amended complaint contained a change in the order of the allegations, specified that the alleged contract was oral, and alleged that the original complaint was filed within three months of the notice of rejection of claim.
Respondents’ general demurrer under Code of Civil Prоcedure section 430.10, subdivision (e), to the second amended complaint was sustained, without leave to amend, on the same grounds as was their demurrer to the first amended complaint. Appellant’s appeal is from the order of dismissal filed by the court on July 22, 1982.
“The function of a demurrer is to test the sufficiency of plaintiffs’ pleading by raising questions of law. (3 Witkin, Cal. Procedure (2d ed. 1971) Pleading, § 796, pр. 2408-2409.)”
(Buford
v.
State of California
(1980)
With these standards in mind, we examine whether Plumlee’s second amended complaint states a cause of action against respondеnts.
Discussion
A. Plumlee’s claim is not barred for failure to bring suit within the three-month limitation period contained in Probate Code section 714.
Plumlee received notice of rejection of his claim on November 6, 1981. His original complaint was filed within three months of that date, on January 26, 1982. Respondents contend, however, that by naming respondents in the caption of the complaint as individuals and not in their representative capacities, Plumlee has failed to bring suit against the executor or administrator within three months of receipt of the notice of rejection, as required by Probate Code section 714. 5
We reject respondents’ contention, which unduly places form over substance. “ ‘Courts under the reformed system of procedure look to the substance of things rather than to form, and to persons and things rаther than to mere names. This manner of treating things constitutes the life and spirit of the reformed system of procedure
(Anglo etc. Co.
v.
Turner Casing Co.,
It has been uniformly held in our state that in order to determine the identity of a party courts are еntitled to take into consideration the allegations of the complaint as well as the title.
(Miller
v.
Superior Court
(1914)
We decide that Plumlee’s complaint was one against respondents in their representative capacities. “Where full notice is given and a reasonably prudent person would realize that he is the party intended to be named as the defendant, the court should treat the mistake as harmless misnomer in order to promote substantive rights.” (7 Grossman & Van Alstyne, Cal. Practice,
supra,
§ 688, p. 180.) In the case at bench no one was deceived. The technical defect can be cured by amendment, making no change in the substance of the action, but merely setting forth correctly the representative capacities in which respondents are being sued. (See
Siegal
v.
Superior Court
(1962)
*548 B. Plumlee’s aсtion is not barred by the statute of frauds as a matter of law.
1. Civil Code section 1624, subdivision 1.
Section 1624, subdivision 1 of the Civil Code reads as follows: “The following contracts are invalid, unless the same, or some note or memorandum thereof, is in writing and subscribed by the party to be charged or by his agent:
“1. An agreement that by its terms is not to be performed within a year from the making thereof ...”
The contract alleged by appellant in his second amended complaint expressly provided that he was to be employed “until at least ten years after the death of Ben Weingart, so long as plaintiff reduced the then existing annual shrinkage of Ben Weingart’s linen supplies from a national average ranging from 17 percent to 25 percent annually to a lower level and continued to maintain a lower levеl.” As will appear, we are unable to conclude, at the demurrer stage in the proceedings, that the alleged contract is rendered unenforceable as a matter of law by section 1624, subdivision 1 of the Civil Code (hereafter subdivision 1).
It is a well-established rule in California that an oral contract is invalid under subdivision 1 only where by its
very terms
it cannot be performed within a year from the date it is mаde.
(McKeany
v.
Black
(1897)
We must therefore examine the contract at bench to determine if, by its terms, it could have been “performed” within one year from its making.
The contract as alleged in Plumlee’s original complaint, providing for his employment “until at least 10 years after the death of Ben Weingart,” was clearly unenforceable, as its terms expressly precluded performance within a year. The contract as alleged in the second amended complaint, while containing the same basic term of employment, embraced the additional clause, “so long as [Plumlee] reduced the then existing annual shrinkage of . . . supplies ... to a lower level ...” Does the addition of this “shrinkage reduction” clause take the contract out of the operation of subdivision 1? As will appear, our answer is in the affirmative at the demurrer stage of the proceedings. Interpreting the allegations of the complaint liberally, as we must, we cannot say as a matter of law that the contract as amended could not be performed within a year.
Although the “shrinkage reduction” clause must be interpreted to givе Weingart (and perhaps even Plumlee) the right to terminate the contract in the event that Plumlee did not perform as required, we must determine, in light of the use of the term annual shrinkage, whether Weingart could have terminated the contract within a year. The most reasonable inference from the language in the contract is that at the completion of the first year the parties would determine whether the condition had been complied with and, if not, Weingart could terminate the contract immediately. Hence the min *550 imum term of the contract is the permissible maximum for an oral contract, namely, one year. 6
Moreover, the use of the term annual shrinkage does not wholly foreclose the possibility of a determination, before a year had elapsed, that Plumlee had not complied with the condition or that it would be mathematically impossible for him to be in compliance at the end of the first year, giving Weingart the right to terminate the contract as of the end of the year, or even earlier.
We must now consider whether termination of the agreement by Weingart for noncompliance with the “shrinkage reduction” condition would have constituted performance of the contract within a year (in which case subdivision 1 would not apply), or whether such termination would merely have excused nonperformance (in which case the contract would fall under the statute).
Although the majority of jurisdictions have held that a party’s option to put an end to a contract within a year does not take it out of the operation of the statute of frauds, on the grounds that to be discharged from liability under a contract is not to “perform” it,
7
the California rule is to the сontrary; A contract, otherwise within subdivision 1, may be taken out of its operation by the fact that a party (or at least a defendant) may rightfully terminate it within a year. (1 Witkin, Summary of Cal. Law (8th ed. 1973) § 218, p. 195;
White Lightning Co.
v.
Wolfson, supra,
Although we are not unmindful of the compelling logic of the majority view, we follow stare decisis and conclude that under the minority California rule the contract we consider is not invalid under the statute of frauds as being “an agreement that by its terms is not to be performed within a year from the making thereof.”
2. Civil Code section 1624, subdivision 6.
Our analysis of the effect of subdivision 1 on the contract alleged by appellant also disposes of the application of section 1624, subdivision 6, which requires a writing where a contract “. . . by its terms is not to be performed during the lifetime of the promissor . . . .” At the time the contract was made, the possibility existed that Plumlee might be in nоncompli *552 ance with the “shrinkage reduction” condition before Weingart’s death, and Weingart could have then terminated the contract. Upon that event, under the minority California view, the contract would have been fully performed before the death of Ben Weingart. Thus, at least upon this review after demurrer, the contract is not within the statute of frauds.
The judgment (order of dismissal) is reversed.
Thompson, J., and McVittie, J., * concurred.
Respondents’ petition for a hearing by the Supreme Court was denied February 29, 1984.
Notes
Probate Code section 333 requires publication of a “Notice of Death and of Petition to Administer Estate” (official form DE-121). Probate Code section 700 provides that publication of the notice required by section 333 “shall also constitute notice to the creditors of the decedent” for purposes of presеntation of claims.
Other named defendants are not parties on this appeal.
We do not discuss additional asserted grounds for demurrer which were overruled by the trial court.
Probate Code section 714 provides, in relevant part: “When a claim is rejected . . . written notice . . . shall be given by the executor or administrator to the holder of the claim or to the person filing or presenting it, and the holder must bring suit in the proper court against the executor or administrator, within three months after the date of service of such notice . . .; otherwise the claim shall be forever barred.” (Italics supplied.)
See footnote 4, ante.
We recognize the possibility that it might not have been possible to measure Plumlee’s compliance with the condition until after the end of a year from the date the contract was made. But such event would not prevent the enforceаbility of the contract unless respondents can prove that it would foreclose completion of appellant’s
performance
within one year. On demurrer, however, we do not assume the necessity of more than one year to test and terminate the agreement. (See
White Lightning Co.
v.
Wolfson, supra,
“The point in Williston on Contracts, Rev. Ed., Vol. 2, § 498, is treated as follows: ‘Promises subject to an express defeasance or providing for alternative performance. The distinction between an excusе for not performing and completion of performance ... is taken in contracts requiring for their performance a period exceeding a year but which are subject to a right of defeasance, not by operation of law but by the express terms of the contract, within the period of a year, as a contract for several years’ service containing a provision permitting termination by either party on a week’s or a month’s notice. Such contracts are generally held within the Statute.”
(Hopper
v.
Lennen & Mitchell, Inc., supra,
Assigned by the Chairperson of the Judicial Council.
