adding optionPopulator, setup and selectCurrencies functions