ir helper function pass only classes to InterestRate