changed variable names for the return values of getCurrencyValue