delivered the opinion of the court:
Appellant is the assignee of Melville T. Roberts, whose assets are being administered under the direction of the county court of Cook county. Roberts did business as a private banker, under the name of Thirty-first Street Bank. He was the banker of the Thirty-first Street Building and Loan Association, and at the time of his assignment he was indebted to the association in the sum of §10,325.90, which it had on deposit with him as a banker. He was also a stockholder in the association, and its secretary, and as such secretary had charge of all its books. He was the owner of a considerable number of its shares of stock, and of these shares of stock 1017 shares were pledged to the association to secure §18,423 which he had borrowed from it. He also held 655 other shares of the stock, and 60 of these shares stood in his own name on the books of the association, and the remaining 595 shares he had purchased from different persons, and they had been assigned to him but not transferred on the books. The assignee demanded an adjustment of the loan of §18,423, and also the withdrawal value of the shares of stock not pledged. The sum of §771.55 was the surplus of the withdrawal value of the 1017 shares pledged, over and above the loan upon them, and §10,530.37 was the withdrawal value of the 655 shares not pledged.
The claim of the association was and is, the right to set off against the withdrawal value of §10,530.37 the sum of §10,325.90, which it had on deposit with Roberts at the time he made his assignment for the benefit of creditors. The contention of the assignee is, that in respect to the amount of that deposit the association must come in along with the general creditors and receive dividends only.
The assignee stands in the shoes of the assignor. (Ide v. Sayer, 129 Ill. 230.) The statute under which the building and loan association (appellee herein) was organized, authorized it to adopt by-laws. (Laws of 1879, p. 83.) *366These by-laws, if not'repugnant to the law of the State, bound all the members of the association. (Angelí & Ames onCorp. sec. 325.) One of the by-laws of "this association was as follows : “But no share shall be transferred while any debt, penalty or due of any kind, against the owner thereof, may remain unpaid.” The effect of such a by-law as this is to create a lien in favor of the corporation for the indebtedness due it, as against the shareholder, and so, of course, as against one who merely stands in his shoes. 2 Morse on Banks, sec. 698; 1 Morawetz on Corp. sec. 201.
It is urged by the assignee, that as the withdrawal took place after the assignment, a new right was created in his favor, as assignee, and one which was not subject to set-off in favor of a money demand against the insolvent assignor accruing prior to the assignment. This claim ignores the marked difference that exists between stock in a building and loan association organized under our statute, and stock in an ordinary corporation. The capital stock of an ordinary corporation is subscribed and paid for when it begins its existence, and the moneys paid therefor are a permanent fund for carrying on its operations. The stockholder has no claim on the corporation for the cash value of his shares, and no right to convert such shares into a money demand against the corporation. But a share of stock in a building and loan association is paid for in small installments, and when the payments upon the share, together with its proportion of earned profits, amount to the par value of the share, then such share is payable in money out of the treasury of the association. In respect to every share of stock the time must come when it is payable in money by the association,—when there is a right to demand from it .money in lieu of stock; and under the statute and the by-laws of appellee there was a right to withdraw from the association at any time, upon proper notice, and demand and receive from it the withdrawal value of the stock.
*367The duty of appellant, as assignee, was confined to converting the property assigned to him into money, and distributing the proceeds among the creditors according to their respective rights. That which he did by way of withdrawal from the association was not the creation of a new right in him, as assignee, but was a mere mode of disposing of and realizing upon the property and assets that had been assigned to him. The stock was, prior to the notice of withdrawal, a money demand, in substance and in fact, and the effect of the withdrawal was to expedite the time of payment, and fix the amount due.
Statutes of set-off are remedial and beneficial acts, and are to be liberally construed. A county court, in administering upon the estate of an insolvent, acts upon equitable principles, and will afford such relief as a court of chancery would give; and the insolvency of one of the parties is a strong incentive, in a court of equity, to induce the application of the principle of set-off. Here the shares of stock were demands which must, in their nature, terminate in debts, and were therefore proper subjects to which to apply the law of set-off.
Five hundred and ninety-five of the shares of stock purchased by Roberts from other parties had not, at the time of the assignment, been transferred to him on the stock books of the association. They had, however, been assigned to him, and he-was the actual and beneficial owner of them. Roberts was the secretary of the association, and, as such, had charge of its books, and it was his duty, when he bought the stock, to transfer it on the books, and he having failed, through either negligence or fraud, to perform this duty, neither he nor the assignee, who stands in his shoes, should now be allowed to profit by such failure to perform his duty. And it is' utterly inconsistent that appellant should now contend that, for the purpose of passing title to him, Roberts was the owner of the stock, but was not the owner of the stock for the purposes contemplated by the by-law which *368we have above quoted. Roberts having been, as already stated, the actual and beneficial owner of the shares, we think that in a court exercising equitable jurisdiction, and under the circumstances of the case before us, he should be held to have been “the owner” of the shares, within the meaning of the by-law creating a lien in favor of the association for all indebtedness due it from such owner, as against such owner or his voluntary assignee.
The Appellate Court held that the association was entitled to set off the deposit of $10,325.90 against the / withdrawal value of the stock, and it reversed the decree of the county court, and remanded the cause to the county court with directions. The judgment of the Appellate Court is affirmed.
Judgment affirmed.