use currencyProvider instead of currencyRepository