The defendants in the above-entitled cause (with others) executed and delivered to the plaintiff, September 30, 1891, the following instrument:
“To the London and San Francisco Bank, Lt’d, San Francisco, California:
“You will please give credit to.the Capitol Packing Company for a sum of money in United States gold coin not exceeding the amount of one hundred thousand ($100,000) dollars; and as said packing company contemplates a course of future dealing with you, you will please continue the said credit, or, if it should be reduced or satisfied by payments made by said packing company, renew the same from time to time for said amount, or any less sum, or otherwise keep the said credit permanently up to the limit as aforesaid, or any less amount.
“And these presents shall be deemed to be, and shall constitute to jum, a continuing guaranty by each of us in the several proportions stated below, in reference to, and embracing, the original credit hereby authorized and all future liabilities of said packing company to you under said original credit, and under such successive transactions with you as shall either continue its liability or from time to time renew it; and such guaranty shall remain and be operative until all present or future credit or credits given by you as aforesaid, not exceeding the said limited amount, shall be fully paid, subject to our legal right to revoke the same in writing at any time as to any transactions occurring after such revocation.
“The subscribers hereto do hereby severally guarantee the said credits to the amount of one hundred thousand (100,000) dollars, in the following proportions, namely: .... Thomas Cole, for another twenty-five six-hundredths (25-600) part thereof; Abby M. Parrott, for another one hundred and sixty-five six-hundredths (165-600) part thereof.
“This guaranty shall bind each subscriber for his said proportion of said total credit (until after such revocation by him), notwithstanding some part of said total credit shall not be hereby guaranteed.
“Dated San Francisco, September 30, 1891.”
*480October 5, 1891, the Capitol Packing Company opened an account with the plaintiff, and thereafter, until August 30, 1894, made deposits of moneys for its said account, drew checks against the same, and received advances by way of loans from said bank, which said advances were, by the said packing company’s agreement with said bank, to draw interest, - payable monthly, at the rate of seven per cent per annum. In July, 1893, the San Francisco Clearing House, of which the plaintiff was a member, promulgated a rule for the government -of its members, that they should not allow overdrafts on the part of their customers; and for the purpose of complying with this rule the Capitol Packing Company, at the request of the plaintiff, delivered to it on the sixth day of September, its promissory note for the sum of $73,000, bearing date August 31, 1893, and payable one day after date. At that time the books of the bank showed an indebtedness on the part of the packing company of $72,899-.61. This note was not accepted by the bank as payment, but its amount was placed upon the credit side of the packing company’s account, and was so entered for the purpose of closing on its books the overdraft of the packing company, under the aforesaid rule of the clearing house. A balance was struck in the account, and the difference, viz., $100.39, was carried to the credit column of the account, the account was continued upon the books, and the packing company continued to make deposits and draw checks against the same until August 30, 1894, when it was finally closed. On July 31, 1895, the total amount due to the bank, as shown by the accounts upon its books, was $78,110, being the aforesaid sum of $73,000 and interest thereon for one year. An agreed case containing the above facts and others hereinafter named was submitted to' the superior court for its determination, the plaintiff claiming therefrom a right of recovery against the defendants, and they claiming to be under no liability by reason thereof. The superior court rendered its judgment in favor of the plaintiff, from which the present appeal has been taken.
1. The instrument of September 30, 1891, is both a letter of credit and a guaranty. The first portion thereof is a written instrument addressed by the appellants to the respondent, *481requesting the latter to give credit to the Capitol Packing Company, and thus falls directly within the terms of section 2858 of the Civil Code; and in the subsequent portion thereof they guarantee the said credit to the amount of $100,000, in certain specific proportions, and declare that the same shall be a continuing guaranty by each of them in these proportions, until the credit that may be given shall be fully paid. Regarded as a letter of credit, the terms of the instrument do not require any notice of the credit thereafter given, nor can the necessity of giving such notice be implied from its terms; and under section 2865 they became liable for such credit without notice to them. Their guaranty of the credits that might be given thereafter contains no limitation and is unconditional. It is not an offer to guarantee—its language being that they “do hereby severally guarantee the said credits”—but is an absolute guaranty, and, under section 2795 of the Civil Code, became binding upon them without any notice of acceptance. The provisions of section 1565 of the Civil Code, cited by the appellants, requiring the consent of parties to a contract to be “communicated by each to the other,” has no application to a contract by which one person makes an absolute guaranty to another of the debt or default of a third person. It is a cardinal rule of statutory construction that specific provisions upon a particular subject control general provisions for the class to which that subject belongs. (Endlich on Interpretation of Statutes, sec. 399.) Section 1565 of the Civil Code refers to contracts in general, and is found in title I, of part II of that code, while the sections relating to "Guaranty” are contained in title XIII, of part III of the same code. Section 4481 of the Political Code declares: "If the provisions of any title conflict with or contravene the provisions of another title, the provisions of each title must prevail as to all matters and questions arising out of the subject matter of such title.”
It is claimed by the appellants that the acceptance by the bank of the promissory note for $73,000 was such an alteration of the relation between it and the packing company as to discharge the guarantors, and in support thereof they invoke the oft-cited rule that a surety or a guarantor is entitled to stand upon the strict terms of his contract. When it is said that a *482guarantor is entitled to stand upon the strict terms of his guaranty, nothing more is intended than that he is not to be held liable for anything that is not within'the express terms of the instrument in which his guaranty is contained; that his liability is not to be extended by implication beyond these limits, or to other subjects than those expressed in the instrument of guaranty. But for the purpose of ascertaining the meaning of the language which he has used, and thus determining the extent of his guaranty, the same rules of construction are to be applied as are applied in the construction of other written instruments. His liability is not to be extended by implication beyond the terms of his guaranty as thus ascertained. The language used by him is, however, to receive a fair and reasonable interpretation for the purpose of effecting the objects for which he made the' instrument, and the purpose to which it was to be applied. If this language is fairly susceptible of two interpretations, either of which is within the spirit of the guaranty, he is not at liberty to say that the person to whom it is given was not justified in acting upon either, or that he should have acted upon one rather than the other. (Civ. Code, sec. 1654; Bell v. Bruen, 1 How. 169; Lawrence v. McCalmont, 2 How. 426; Gates v. McKee, 13 N. Y. 232; 64 Am. Dec. 545; Powers v. Clarke, 127 N. Y. 417; Pratt v. Matthews, 24 Hun, 386; Smith v. Molleson, 148 N. Y. 241; Lefargue v. Harrison, 70 Cal. 380; 59 Am. Rep. 416.)
The taking of the note by the bank did not discharge the appellants from their liability upon the guaranty unless the obligation which they had guaranteed was thereby changed. By the terms of the instrument of guaranty the bank was to give to the packing company "credit” to the amount of $100,000, and to "continue the said credit,” or, if it should be "reduced or satisfied by payments,” renew the same, or otherwise keep the said "credit” permanently up to the limit aforesaid, or any less amount; and the signers thereof agreed that the instrument should be a continuing guaranty in reference to and embracing the original credit thereby authorized, "and all future liabilities of said packing company under said original credit,” and under such successive transactions as shall either "continue its liability, or. from time to time renew it,” until all present or future *483credit or credits “shall he fully paid.” The instrument does not designate the form in which the credit should be given, and its language is broad enough to embrace any form of ¡credit which might be agreed upon between the bank and the packing company; nor is there any language therein which limits the guaranty, or the credit to be given, to the form which might be originally adopted, or to preclude the bank and the packing company from the right to change the form of such credit, or from adopting at the same time different forms of credit without impairing the guaranty. It may be conceded that if after the bank had given credit to the packing company by way of an open account for its overdrafts, payable on demand, it had accepted a promissory note therefor by which its right to demand immediate payment would be postponed to a future day, the guarantors would have been discharged, since in that case the contract guaranteed by them would have been changed by giving time to the debtor and preventing them from taking up the debt and immediately suing the packing company. It is stated, however, in the agreed case that the note was not taken by the hank as payment, and, therefore, the original credit given to the packing company was not thereby “reduced or satisfied.” In the absence of an agreement to that effect, or evidence that such was the intention of the parties, the taking of a note for an existing liability does not constitute a payment of the debt. (Dellapiazza v. Foley, 112 Cal. 380; Grangers’ Bank v. Shuey (Cal. Dec. 15, 1898); 17 Cal. Dec. 1.) In the present case, the note was not delivered to the bank until after its date, and was therefore payable immediately, and the bank could at any time bring its action upon the original overdrafts.
The giving of the promissory note was a transaction between the bank and the packing company which at least had the effect to “continue” its liability for the amount of its previous overdrafts, and was within the express terms of the guaranty. It was evidence of the extent of the credit existing at that time, but did not change the amount or character of the liability. If, instead of taking the note, the bank had at that time sued the packing company and obtained judgment against it for the amount of its overdrafts, the guarantors would not have been thereby discharged, and the taking from it of a written agree*484ment to pay the amount of the overdraft can have no greater effect in discharging them. There was but one account opened with the bank by the packing company, and this account was not finally closed until August 30, 1894; and the entry of the amount of the note to the credit of the packing company upon this account was made merely for the purpose of closing the “overdraft” upon its books, but did not change the liability of the packing company, or reduce the amount of the credit which it had received from the bank. An account is not closed at each time a footing is made and the balance carried to another column. In support of these propositions, the following authorities may be consulted: Bush v. Crilchfield, 5 Ohio, 109; Wise v. Miller, 45 Ohio St. 388; Fifth Nat. Bank v. Woolsey, 31 N. Y. App. Div. 61; Norton v. Eastman, 4 Greenl. 521; Lennox v. Murphy, 171 Mass. 370; London etc. Bank v. Bandmann, 120 Cal. 220; 65 Am. St. Rep. 179.)
It is stated in the agreed ease, after reciting the making of the aforesaid note and crediting its amount against the overdraft: “After that time, viz., on and after September 6, 1893, the company continued to make deposits and to check against the same as is shown by the statement hereto annexed, marked ‘Exhibit 2/ But after September 6, 1893, no further credit was asked by or given to the packing company. All deposits so made were applied by the bank to the checks drawn after the date last mentioned, until August 30, 1894, when the said account was finally closed.” Upon this statement it is contended by the appellants that their liability as guarantors ceased September 6, 1893; that as after that date the bank gave no further credit to the packing company, the liability of the guarantors ceased at that date. We cannot assent to this construction of the above clause. The argument of the appellants is drawn from what we deem a misconstruction of the language used in the agreed case. The statement that after September 6th no further credit was given to the packing company is'not equivalent to a statement that credit was not given to it after that date. The word “further” as here employed, is an adjective, used in the sense of “additional,” limiting “credit,” and is not to be construed as an adverb of time, qualifying the word “given”; and the phrase is to be construed as *485meaning that after that date the bank gave no credit to the packing company beyond, or in addition to, the amount of the note. The sentence itself is introduced by the restrictive connective “But,” and its apparent purpose is to limit the statement in the previous sentence that after that date “the company continued to make deposits and to check against the same,” by declaring that, notwithstanding the checks drawn against the deposits, they did not of themselves result in giving any credit to the packing company. This construction is consistent with the fact, appearing upon the face of the account, which is referred to in the sentence, that after that date there were no further overdrafts—the deposits being at all times in' excess of the checks—and also harmonizes with the effect which we hold is to be given to the transaction of accepting the note and placing its amount to the credit of the packing company’s account.
Permitting the packing company to draw checks against the deposits made by it after September 6, 1893, did not affect the liability of the guarantors. The moneys so deposited were not directed to be applied as payments upon the note, and in the absence of any direction the bank was not required to make such application. A bank which holds the note of its customer is not required at its maturity, or thereafter, to apply thereon moneys subsequently deposited by the customer, and an endorser or surety upon the note is not discharged by its omission to make such application. (Morse on Banks and Banking, sec. 562; First Nat. Bank v. Peliz, 176 Pa. St. 513; 53 Am. St. Rep. 686; National Mahaiwe Bank v. Peck, 127 Mass. 298; 34 Am. Rep. 368; Strong v. Foster, 17 Com. B. 201.) And if the bank was not required to make such application, its payment of checks drawn subsequent to the deposits was not a reloaning to the packing company of money that should have been applied toward the payment of the note. As we hold that the “credit” which was guaranteed did not cease on the 6th of September, but continued from the time it was opened with the bank in October, 1891, it is immaterial, so far as the guarantors are concerned, whether the deposits made after that date were applied in reduction of the amount of the note, or in payment of checks subsequently drawn. The liability of the packing company *486which they guaranteed was whatever amount of credit less than $100,000 might at any time exist in favor of the bank, whether in the form of an open account for overdrafts, or in the nature of bills receivable. As between the bank and the packing company, all the payments of its checks by the bank upon overdrafts constituted “credit,” and all of the deposits by the packing company were payments to be applied in “reducing or satisfying” that credit, and whatever amount of such credit remained unpaid was within the terms of the guaranty.
2. The Capitol Packing Company is a corporation organized under the laws of this state, with a capital stock divided into 600 shares, of which 595 were issued, and during all the times in which the aforesaid liability of the corporation was incurred the appellant, Abby M. Parrott, was the owner and holder of 165 shares of said stock, and the appellant, Thomas Cole, of 25 shares. The plaintiff claims, in addition to a recovery upon the guaranty of the appellants, the right to recover from them respectively, as stockholders, their proportion of the aforesaid corporate obligation, and the superior court rendered judgment- in its favor in accordance with this claim. The appellants contend that their guaranty was only a collateral security for their liability as stockholders; that their liability thereon was commensurate with their liability as stockholders, and that the court was not authorized to render judgment against them in their double capacity.
In the agreed case the liability of the packing company to the plaintiff is stated to be $78,110, and it is stated that the plaintiff claims the right to recover from Mrs. Parrott upon her stockholder’s liability the sum of $21,844.32, and upon her liability as guarantor the sum of $10,922.16; and from Mr. Cole upon his liability as stockholder the sum of $3,309.75, and upon his guaranty the sum of $1,323.89. The aggregate amount of the judgments against the defendants is less than the agreed amount of the corporate liability, but the judgments do not specify the amounts thereof rendered against the appellants upon their respective liabilities as guarantors and as stockholders. Ho exception, however, is made upon this ground, nor do the appellants claim that the judgment against 'them is incorrect in amount—their claim being that by reason of the guar*487anty they are not liable in any amount as stockholders. The guaranty does not, however, contain any reference to the liability of the signers as stockholders, and, inasmuch as such liability is distinct from that arising upon their contract, if they had intended not to be bound as stockholders they should have caused words of release or limitation to be inserted in the guaranty. Their liability as stockholders existed by virtue of the statute while their liability as guarantors was purely a matter of contract between them and the plaintiff, and the plaintiff had the right to demand the guaranty, in addition to their liability as stockholders, as a condition upon which it would give credit to the corporation. There was no connection between the two, or dependence of one upon the other, and, in the absence of any agreement to that effect, the plaintiff is not to be deprived of the right to enforce their statutory liability, bfo inference of this nature is to be drawn from the similarity between the number of shares of stock held by the appellants, and the proportion of the credit which they guaranteed. In fact, their liabilities under the two obligations are not the same— that as guarantors being for a certain number of six-hundredths of the credit, while as stockholders they were liable for that number of five hundred and ninetieths.
The plaintiff is, of course, not entitled to recover from the defendants whether as guarantors or as stockholders, or in both capacities, more than the amount of the corporate liability, but, as it appears from the record that the aggregate amount of the judgments is less than the agreed amount of the corporate liability, we cannot say that the record discloses any error in this respect. It is also stated in the agreed case that some stockholders did not sign the guaranty, and that some of the guarantors were not stockholders. The case also shows that the ^defendants in the action had 290 shares of the stock, but it does not appear that any of the guarantors, other than the defendants, were stockholders.
It is stated in the agreed case that the defendants shall be considered as having pleaded the statute of limitations upon any other matter than the guaranty, and appellants contend that their liability as stockholders is barred by this statute. The liability of a stockholder is an obligation created by stat*488ute, and, under section 359 of the Code of Civil Procedure, is barred unless the action thereon is commenced within three years after the cause of action accrues. (Green v. Beckman, 59 Cal. 545; Moore v. Boyd, 74 Cal. 167; Wells v. Black, 117 Cal. 157; 59 Am. St. Rep. 162.) It is unnecessary to consider the proposition presented by the appellants, that if the liability of a corporation is barred by the statute the stockholders may avail themselves of that fact as a defense to their own liability, since in the present case the liability of the packing company was not barred. Before the statute had run against its liability it made its written acknowledgment thereof and promised to pay the same, and thus prevented the bar of the statute. The giving of this note had the effect to preserve its liability until the maturity of the note. The plaintiff’s claim against the appellants as stockholders is not upon the note, but upon the liability originally created by reason of the advances made to the corporation. We have seen that the giving of this note did not affect the liability of the appellants upon their guaranty, since it did not affect the original liability of the corporation, and for the same reason it did not affect their liability as stockholders.
Neither is their liability as stockholders barred by the three years’ statute. The account with the packing company was opened October 5, 1891, and from that date until September 5, 1893, deposits were made by the packing company, from time to time, and its checks paid by the bank. Section 1479 of the Civil Code, providing for the application of payments, declares: “3. If neither party makes such application within the time prescribed herein, the performance (i. e., the payment) must be applied to the extinction of obligations in the following order: 1. Of interest due at the time of performance; 3. Of principal due at that time.”
The superior court acted in accordance with this rule, and held that the deposits of the packing company should be applied, first, to the interest due at the time of making the several deposits, and next to the payment of the checks earliest in time, and that the application should be made as of the date of the several deposits, irrespective of the time that had elapsed between the earliest items and the commencement of the action*489. The appellants claim that the court thus acted in disregard of their plea of the statute of limitations; that under this plea the court was not at liberty to apply any of the deposits in discharge of advances made more than three years prior to the time the application was made; that the application of the deposits, whether made by the court or the creditor, cannot be made after three years from the time that the liability accrued. We cannot assent to this proposition. Under section 462 of the Code of Civil Procedure the plea of the statute of limitations is to be deemed "controverted” by the plaintiff, and whatever will defeat its effect may be shown upon the trial. The right to a correct application of payments is one of the elements in the plaintiff’s right of action, and he is not to be deprived of the exercise of that right by a delay in bringing his action on for trial. The application of payments which is made by the court is to be made "in such a manner, in view of all the circumstances of the case, as is most in accordance with justice and equity, and will best protect and maintain the rights of both parties.” (Murdock v. Clarke, 88 Cal. 390.) The circumstances which are to guide the court may have arisen since the payment was made, but the application when made relates to the time of the payment. There could be no propriety in applying a payment to the discharge of an obligation incurred subsequent to the time when the payment was made.
It is next contended by the appellants that under their plea of the statute their liability as stockholders is limited to that portion of the corporate liabilities which were incurred subsequent to August 16, 1892—the agreed case having been filed August 15, 1895. At the time of the execution of the note of September 5, 1893, the statute of limitations had not run against any of the items of the account; and the parties thereto could at that time agree upon the mode and extent to which the previous deposits by the packing company should be applied in the extinction of its liability for the advances; and the making and acceptance of the note for an amount agreed upon between them must be regarded as an agreement, or acquiescence, on the part of the packing company, in their application to the extinction thereby of so much of the liability theretofore incurred as was not included in the note.
*490The appellants urge, however, that the plaintiff had, prior to that date, made an appropriation of a portion of the deposits to the payment of interest at the end of each month, and that the appropriation having once been made it was irrevocable, and that a different appropriation thereafter was unauthorized. This claim rests upon these facts: At the opening of the account the packing company agreed to pay interest upon the advances made to it, monthly, at the rate of seven per cent per annum. This interest upon overdrafts was, according to the usual course of business, paid by a memorandum check signed by the bank itself, and a list of the checks so drawn was handed to the packing company whenever its book was balanced. In the account upon the books of the bank these items of interest appear under date of the last day of each month, and amount to a little over $7,000. It is claimed that by this mode the bank elected to allow the interest to compound and not to apply any subsequent deposits to its payment. Instead, however, of being an application of the deposits, this action of the bank was in the nature of an additional loan to the packing company. It was equivalent to advancing to it the amount of the interest for the previous month, upon its check therefor, in the same mode that it would advance money upon its check for any other purpose. Deposits subsequently made were not applied by the bank to the payment of this interest, but were placed to the general credit of the packing company in its account upon the books of the bank.
From the copy of the account annexed to the agreed case it appears that upon many occasions the amount of the deposits and of the checks drawn by the packing company upon the same day were identical, and from this fact the appellants contend that it should be held that these deposits and checks were parts of the same transaction, and were transactions independent of the general account between the packing company and the bank, and consequently the deposits so made should not be applied to the discharge of any of the earlier items of the account. There is nothing, however, in the record tending to show that these were independent transactions except the identity of amount and date, and these items only constitute evidence from which an inference might be drawn that they were *491parts of independent transactions. They are not conclusive of the fact, and as the superior court -has not drawn this inference, hut its judgment has impliedly found the contrary, we must accept its finding as conclusive. It may be added that in the dealings between a hank and its customers the deposit is usually made before the checks are drawn, and, in the absence of some specific direction, there would be no presumption that a deposit was intended to be applied to a check that might be thereafter drawn.
The judgment is affirmed.
Garoutte, J., and Van Dyke, J., concurred.
Hearing in Bank denied.