changed Bank.java onCommand