after stating tbe case: Tbe allegation that plaintiff’s note was paid, is eliminated by tbe verdict of tbe *467jury. The case then, comes to this: Plaintiff, by her husband, whose agency in that respect is not denied, deposits her note with the defendant grocery company to secure a line of credit to be extended to Eitts & Lash to the extent of $300. Eor goods purchased in excess of that amount they were to make monthly payments which were to be, and were, applied to the .extinguishment of such purchases. Conceding that the time of payment fixed by the note marked the limit of time for which the line of credit was to extend, it is admitted that at that time Eitts & Lash owed, on account of purchases made pursuant to the contract, as much as $300. It would seem clear, therefore, that at that time the defendant grocery company may have required the trustee to sell the property and pay the balance due on the debt for which plaintiff’s note was liable.
Has the defendant grocery company, by its dealing with the note since that time, released the property from the lien or right to have it subjected to the payment of the debt? It is not claimed that at any time since the maturity of the note the debt of Eitts & Lash has been reduced below $300. It seems that Eitts & Lash made several short-time notes to the defendant grocery company, which were negotiated at the bank, with the plaintiff’s note attached thereto as collateral. It is not perfectly clear that such use of the note was made after its maturity, although we think the testimony capable of that construction.
These notes have all been paid, and the plaintiff’s note is now the property of the Messick Grocery Company. Plaintiff insists that, by taking these short-time notes of Fitts & Lash since the maturity of plaintiff’s note, the defendant grocery company entered into a valid and binding contract to extend the time of payment of the debt for which the plaintiff’s note was liable. The basic reason upon which a valid contract with the principal, extending the time of payment *468of the debt, discharges the surety is that it deprives the surety of the right to pay the debt and demand exoneration from the principal and an assignment of securities held by him. It is elementary that “when the engagement of the surety has become absolute by the default of his principal he may pay, without awaiting a suit, and what is thus paid, if it exceed not his legal liability, will be regarded as expended for the use, and. at the instance and request, of his principal.” Gray v. Bowls, 18 N. C., 437. Shepherd, J., in Scott v. Fisher, 110 N. C., 311, quoting from Deal v. Cochran, 66 N. C., 269, says: “It is well settled that if a creditor enter into any valid contract with the principal debtor, without the assent of the surety, by which the rights or liability of the surety are injuriously affected, such contract discharges the surety. A familiar instance of this is when a creditor binds himself not to sue or collect the debt for a given time, and thereby puts it out of the power of the surety to pay the debt and sue the principal debtor.”
. It will be noted that the testimony showed that the amount due by Eitts & Lash, at the maturity of the plaintiff’s note, remained a charge on the books of the defendant grocery company. It is not claimed that it was ever closed by note, and the jury find that plaintiff’s note was not paid by renewals. While the transactions are not set out so clearly as might be desired, it seems that the short-time notes were given as accommodation paper to enable the Messick Grocery Company to borrow money from the bank. We do not perceive how they in any manner affected the plaintiff’s right, after maturity of her note, to pay it and immediately sue Eitta & Lash for the amount so paid by her. The fact that it was deposited in the bank by the Messick Grocery Company did not affect her right to do so. It is well settled that if a collateral be deposited in a bank it may be collected at *469maturity by the bank, although the debt for which it is collateral is not due. The proceeds will be held in lieu of the collateral to await the maturity of the debt. The plaintiff cannot complain that the payments made by Fitts & Lash .on account of the weekly purchases were so applied. She had no equity to compel them to be applied to the $300, for which her note was deposited. This case is distinguished from Purvis v. Carstaphan, 73 N. C., 575. There the payments were made from the proceeds of the wife’s crops. It was not within the terms of the contract, or the contemplation of the parties, that the first payments made were to extinguish .plaintiff’s note. It was deposited, not to secure a single bill of groceries to the amount of $300, but a “line of credit” to that amount. To hold that the note was’ extinguished by the first payments made would do violence to the manifest purpose of the parties. The finding of the jury that the note has not been paid excludes the suggestion that the plaintiff has been released otherwise than by an extension of time upon a valid contract. This we do not think was the effect of the dealings between the parties. His Honor, upon the entire evidence, correctly answered the third issue. Defendants insist that by the agreement', set out in the note, waiving any “defense on ground of any extension of time,” etc., the plaintiff is precluded from raising the question. The plaintiff replies to this contention by saying that she is a feme covert, and not bound by her contract in this respect. This question has not heretofore been presented for our consideration. An agreement, incorporated in the note, to waive the defense accruing by an extension of time, has been held valid by this Court in Bank v. Couch, 118 N. C., 436; 27 Am. and Eng. Enc., 528.
In view of the decision in Ball v. Paquin, 140 N. G, 83, wherein we held that a contract made by a married woman, *470charging, either expressly or by implication, her real estate, with the consent of her husband and by privy examination, was valid, we can see no reason why, treating the note and mortgage as one transaction, the legal 'effect of her agreement is not the same as if incorporated in the mortgage. It would seem both reasonable and just to treat every provision in the note as within the protection of the mortgage. It is only the property specifically conveyed for the security of the debt which is sought to-be subjected. To this extent, at least, she has waived any defense which might otherwise accrue to her from the manner of dealing with the note.
The question which has given us most concern is presented by defendants’ claim to have the proceeds of the insurance policy applied to the payment of the note. The policy issued to Eller, trustee, was payable to him as his interest might appear, and, while it is not expressly so stated, the legal effect of the transaction would give to the plaintiff the amount of the policy in excess of such interest; hence, as the matter has turned out, the entire amount of the insurance policy belongs to the plaintiff unless the defendant Messick Grocery Company has a right to it, either by way of an equitable lien or an equitable assignment. It is well settled that “An agreement between the mortgagor and the mortgagee, by which the mortgagor is charged with the duty of taking out insurance for the benefit of the mortgagee, will charge the proceeds of any insurance taken out by the mortgagor with a lien in favor of the mortgagee.” 4 Cooley’s Ins. Briefs, 3703; 1 Jones on Mortgages, sec. 400.
Where the mortgagor has covenanted that he will keep the mortgaged premises insured for the benefit of the mortgagee, and either has effected, or thereafter effects, insurance in his own name, “though this be done without the mortgagee’s knowledge, or without any intent to perform the agreement, *471equity wall treat the insurance as effected under the agreement, and will give the mortgagee bis equitable lien accordingly. This is° upon the principle by wbicb equity treats that as done which ought to have been done.” Nordyke v. Gerry, 112 Ind., 535. In American Ice Co. v. Eastern Trust Co., 186 U. S., 626, it is said: '“In case of Wheeler v. Ins. Co., 101 U. S., 329, it was held that when a mortgagor is bound by bis covenant to insure the mortgaged premises for the better security of the mortgagees the latter have, to the extent of bis interest.in the property destroyed, an equitable lien upon the money due from the policy taken out by him.” Chipman v. Carroll, 25 L. R. A., 205. the covenant of the mortgagor made it her duty to insure the property and keep it insured for the benefit of the mortgage creditor. As she then bad the policy payable to Eller, trustee, with the balance, after paying the Walker note, coming to her, she might well be regarded in equity as having, in discharge of her covenant, assigned the policy, subject to EUei^s interest, to Blair, trustee.
Equity, in its effort to make good one of its favorite maxims, that it will regard that as done which ought to have been done, will treat the assignment as in fact made or treat the mortgagor as bolding the policy in trust for the mortgagee. “Eor the purpose of reaching exact justice, equity will frequently consider that property has assumed certain forms with wbicb it ought in justice to be stamped, or that parties have performed certain duties which they ought in justice to fulfill.” Bisp. Eq., 44. It is not very material upon which equitable principle we base the right. The justice of this result is manifest, in view of the fact that the building was a part, and evidently a valuable part, of the property mortgaged. When burned, if the company bad, as was its privilege, restored it, the new building would have been sub*472ject to tbe mortgage. Why, then, should not the money paid as the price of the building stand in its stead? Any other result would permit the mortgagor to withdraw, in violation of her covenant, the value of the house from the security which she had given for the debt. As the right of the defendant grocery company to hold the proceeds of the insurance policy arises out of the covenant to insure, and not out of the right to be subrogated to Eller’s rights, the question of the plaintiff’s exemption as paramount thereto does not arise.
Upon a careful consideration of the entire record, we find no error in his Honor’s ruling. The judgment must be
Affirmed.