These are three actions arising under a written lease for rent therein reserved for the months of December, 1929, and January and February, 1930. A copy of the lease is attached to the defendant’s bill of exceptions. It was for a term of ten years beginning with February 14, 1927. The defence of payment is pleaded in the answers, and raises the only questions presented for decision.
The lease contains the following clause: “ The lessee as one of the conditions of this lease has deposited Five thousand (5,000) dollars in the name of the lessor, of which Twenty-five hundred (2500) dollars is deposited with the Liberty Trust Company of Boston, and Twenty-five hundred (2500) dollars is deposited with the Bank of Commerce & Trust Company of Boston. If, at the termination of this lease, as herein provided, all rent and other payments due hereunder shall have been paid in full, and the lessee shall have performed and observed all of his other covenants and agreements herein contained, then, and in that event the said sum of Five thousand (5.000) dollars plus any interest allowed by said Liberty Trust Company of Boston and Bank of Commerce & Trust Co. of Boston shall be repaid by the lessor to the lessee, but otherwise such portion of said Five thousand (5.000) dollars plus any interest allowed by said Liberty Trust Company of Boston and Bank of Commerce & Trust Company of Boston as shall equal the amount of any rent, damages or other amounts or charges due hereunder *337shall be and become the property of the lessor, and the balance, if any, shall be repaid by the lessor to the lessee.”
The deposit provided for in the foregoing clause was made by the defendant, and all rent and other charges due under the lease, except the rent for which these actions are brought, were paid when due. The defendant admitted at the trial that no payment of rent and other charges for the months above referred to had been made “ except by the automatic application of the deposit.” He made an offer of proof that he would testify, if permitted, that at the time of signing the lease he had agreed with the plaintiff that if rent was not otherwise paid when due it was to be paid by the application of so much of the deposit as was then payable when and as it became due. The trial judge refused to allow the evidence offered and the defendant excepted. The plaintiff moved for a directed verdict in his favor for the amount alleged in the declaration to be due, waiving interest; this motion was allowed subject to the defendant’s exception. The only questions presented by the bill of exceptions are whether the defendant’s offer of proof was rightly excluded, and whether a verdict was properly directed in the plaintiff’s favor.
It is obvious that the provisions in the lease above referred to provided for the deposit by the defendant of $5,000 as security for the performance by the lessee of the conditions and covenants contained in the lease. By its provisions the money to be deposited in the banks was to remain on deposit until the termination of the lease, and was then to be returned to the defendant, less any unpaid rents or charges then due. The words of the lease are not open to doubt as to their meaning; they are plain and free from ambiguity. The deposit cannot properly be construed as payment of the rent in advance, as the defendant contends. That the money was deposited as security for the performance of the conditions of the lease is too plain for extended discussion. The offer of proof, if admitted, would have permitted the defendant to have the monthly rent, and the charges reserved, automatically *338applied in payment thereof, which would have been contrary to the express terms of the lease. It is well settled that an oral agreement made by the parties, prior to or at the time the lease was signed, to vary or control its plain terms is inadmissible, and the trial judge in effect so ruled. "The evidence as to the contents of the preliminary agreement for the lease was properly excluded under the familiar rule that when a contract is formally reduced to writing, without fraud or mistake, and is signed, all previous or contemporaneous discussions and memoranda are either rejected or embodied in it, which alone expresses the agreement.” Perry v. J. L. Mott Iron Works Co. 207 Mass. 501, 505-506. Snider v. Deban, 249 Mass. 59, 61. Nelson v. Hamlin, 258 Mass. 331, 340. The cases of Sutton v. Goodman, 194 Mass. 389, and Hall v. Middleby, 197 Mass. 485, cited by the defendant, are distinguishable from the case at bar. As there was no error of law in excluding the proffered testimony, or in directing a verdict for the plaintiff, the entry in each case must be
Exceptions overruled.