refactorings for currency