The beneficiaries under Rose Wahl's will appeal an order granting summary judgment against them. One question is presented: Does a genuine issue of material fact exist as to whether a community property agreement was mistakenly executed?
In 1952 Neal and Rose Wahl were married. On November 7, 1962, Neal executed a will in which he bequeathed all his estate to Rose if she survived. If she did not survive him, then his estate would go to his sister, Alberta Schwartz. The will also provided:
For the purposes of construing this will I direct that a person shall not be deemed to survive me if such person dies within 90 days of my death, . . .
On October 17, 1963, Rose executed her will in which she bequeathed her estate to Neal if he survived her and in the event he did not survive her, to her two brothers John and William and her deceased brother Joseph's six children. Her will also provided:
For the purpose of construing the provisions of this will I direct that a person shall not be deemed to survive me if such person dies within 90 days after my death.
*817Subsequently, on September 19, 1974, on the advice of their attorney, Charles T. Sharp, Rose and Neal executed a community property agreement. It was a standard form agreement and provided
that upon the death of either of the parties hereto, title to all community property as defined in the preceding paragraph shall immediately vest in fee simple in the. survivor of them.
On that same day Rose and Neal also executed codicils in which they expressly reaffirmed all the provisions of their wills and designated Mr. Sharp as alternate executor.
On January 25, 1980, Rose died. After her death, Neal attempted to write a holographic will which devised most of their combined estates to Rose's nieces and nephews. This holographic will was ineffective because it was never properly executed. Neal died on March 21, 1980, less than 90 days after Rose's death.
Mr. Sharp was appointed executor of Neal's will and promptly advised Mrs. Schwartz that she was the sole beneficiary of the estate by reason of the community property agreement. As a result, Rose Wahl's relatives, who were the beneficiaries under her will, filed a complaint and petition for declaration of their interest in the decedent's estate.
In preparation for trial, Mr. Sharp, the attorney who drafted the wills, codicils and community property agreement, was deposed. He testified he failed to realize the community property agreement might be construed inconsistently with the wills. After other depositions and affidavits were taken and filed, Mr. Sharp and Alberta Schwartz moved for summary judgment which was granted.
Rose's relatives appeal. They contend a genuine issue of material fact exists as to whether the community property agreement was mistakenly executed. We agree.
Summary judgment is improper where, even though evidentiary facts are not in dispute, different inferences may be drawn therefrom as to ultimate facts, such as intent or knowledge. Preston v. Duncan, 55 Wn.2d 678, 681, 349 P.2d 605 (1960); Sanders v. Day, 2 Wn. App. 393, 398-99, *818468 P.2d 452 (1970). All reasonable inferences must be viewed in a light most favorable to the nonmoving party. Klinke v. Famous Recipe Fried Chicken, Inc., 94 Wn.2d 255, 256, 616 P.2d 644 (1980).
A community property agreement is a contract. In re Estate of Dunn, 31 Wn.2d 512, 526, 197 P.2d 606 (1948); Norris v. Norris, 25 Wn. App. 290, 295, 605 P.2d 1296, aff'd, 95 Wn.2d 124, 622 P.2d 816 (1980); In re Estate of Lyman, 7 Wn. App. 945, 948, 503 P.2d 1127 (1972); see also In re Estate of Ford, 31 Wn. App. 136, 639 P.2d 848 (1982). Therefore, the rules of contract interpretation apply.
In construing a contract, the intention of the parties will be given great, if not controlling, weight. Langan v. Valicopters, Inc., 88 Wn.2d 855, 859, 567 P.2d 218 (1977); Kennedy v. Weyerhaeuser Timber Co., 54 Wn.2d 766, 344 P.2d 1025 (1959).
Determination of the intent of the contracting parties is to be accomplished by viewing the contract as a whole, the subject matter and objective of the contract, all the circumstances surrounding the making of the contract, the subsequent acts and conduct of the parties to the contract, and the reasonableness of respective interpretations advocated by the parties. Jacoby v. Grays Harbor Chair & Mfg. Co., 77 Wn.2d 911, 468 P.2d 666 (1970); Ramsey v. Sedlar, 15 Wn.2d 901, 454 P.2d 416 (1969); Schauerman v. Haag, 68 Wn.2d 868, 416 P.2d 88 (1966); Dickson v. Hausman, 68 Wn.2d 368, 413 P.2d 378 (1966).
Stender v. Twin City Foods, Inc., 82 Wn.2d 250, 254, 510 P.2d 221 (1973); see also Eagle Ins. Co. v. Albright, 3 Wn. App. 256, 266, 474 P.2d 920 (1970). This rule has been applied to community property agreements. In re Estate of Brown, 29 Wn.2d 20, 28, 185 P.2d 125 (1947).
Applying the above rules to the facts before us, we hold the trial court erred in granting summary judgment. The provisions of the community property agreement are not controlling and it, along with the wills and their codicils and the surrounding circumstances, must be construed together to determine the intent of Rose and Neal Wahl. This presents a question of fact. Turner v. Wexler, 14 Wn. *819App. 143, 146, 538 P.2d 877 (1975).
Another question of fact exists as to whether the Wahls were mistaken as to the consequences of the community property agreement upon the survivorship clauses in their wills. In re Estate of Novolich, 7 Wn. App. 495, 501, 500 P.2d 1297 (1972). An additional issue is whether the documents that were executed should be reformed to reflect the Wahls' intent in view of their inconsistency, admitted by Mr. Sharp, who prepared them. 3 A. Corbin, Contracts § 619, at 763-66 (1967); see also 13 S. Williston, Contracts § 1588 (3d ed. 1967).
Reversed and remanded for trial.
Munson, J., concurs.