Code for interest rate added.