provider paramter is optioinal in CurrencyConverter constructor