began to write ATM class