some architecture, getting euro and dollar method