Surviving spouse. As provided in A-5 of 1.401(a)(9)-3, if the employee's spouse is the sole designated beneficiary as of September 30 of the calendar year following the calendar year of the employee's death, and the surviving spouse dies after the employee and before the date on which distributions have begun to the surviving spouse under section 401(a)(9)(B)(iii) and (iv), the rule in section 40l(a)(9)(B)(iv)(II) will apply. Thus, for example, the relevant designated beneficiary for determining the distribution period after the death of the surviving spouse is the designated beneficiary of the surviving spouse. Similarly, such designated beneficiary will be determined based on the beneficiaries designated as of the date of the surviving spouse's death and who remain beneficiaries as of September 30 of the calendar year following the calendar year of the surviving spouse's death. Further, if, as of that September 30, there is no designated beneficiary under the plan with respect to that surviving spouse, distribution must be made in accordance with the 5-year rule in section 401(a)(9)(B)(ii) and A-2 of 1.401(a)(9)-3.