work with enumerable on bank account class

see above