update to selectCurrencies function