addded interest rate functions example