debugging atm