To discourage deliberate default, the lessee may undertake that if rent is not paid on time, a calculated amount will be paid to charity.
The key condition is that this amount does not become the lessor's profit. Its purpose is deterrence, not compensation of the lessor's opportunity cost.