Add amortinzation code