implement bank-xrate relation