Created simple functions to handle period and interest rate creation