Under Civil Code 1950.7(c), a commercial landlord can use a tenant’s security deposit to pay the tenant’s defaults in payment of rent, repair damage to the premises or to clean the premises after the tenant’s move-out–but only if the lease provides that the landlord can use the deposit for those purposes. Here, the lease authorized use of the security deposit only for payment of unpaid rent, so the landlord couldn’t use the deposit to pay for repair of damage to the premises. (Note that a residential landlord may use a security deposit for those three purposes even if the lease does not expressly allow use for any of those purposes. Civ. Code 1950.5.