refactored bank account to transaction account