overloaded compound interest