changed the interface of the currency converter