repayment contract template