atm.rb