contine to write ATM class