changing methods in ATM.java