mORE progress to atm class with a bug!Not working