1322. Contents of plan
(a) * * *
(b) Subject to subsections (a) and (c) of this section, the plan may--
(1) designate a class or classes of unsecured claims, as provided in section 1122 of this title [11 USCS @ 1122], but may not discriminate unfairly against any class so designated; however, such plan may treat claims for a consumer debt of the debtor if an individual is liable on such consumer debt with the debtor differently than other unsecured claims;
(2) modify the rights of holders of secured claims, other than a claim secured only by a security interest in real property that is the debtor's principal residence, or of holders of unsecured claims, or leave unaffected the rights of holders of any class of claims;
(3) provide for the curing or waiving of any default;
(4) provide for payments on any unsecured claim to be made concurrently with payments on any secured claim or any other unsecured claim;
(5) notwithstanding paragraph (2) of this subsection, provide for the curing of any default within a reasonable time and maintenance of payments while the case is pending on any unsecured claim or secured claim on which the last payment is due after the date on which the final payment under the plan is due;
* * *
(c) Notwithstanding subsection (b)(2) and applicable nonbankruptcy law--
(1) a default with respect to, or that gave rise to, a lien on the debtor's principal residence may be cured under paragraph (3) or (5) of subsection (b) until such residence is sold at a foreclosure sale that is conducted in accordance with applicable nonbankruptcy law; and
(2) in a case in which the last payment on the original payment schedule for a claim secured only by a security interest in real property that is the debtor's principal residence is due before the date on which the final payment under the plan is due, the plan may provide for the payment of the claim as modified pursuant to section 1325(a)(5) of this title.