Moving fromCurrency and toCurrency into the scope.