public void PIN(int x) {
   d2 = ssaMain.d2;
   if (x == d2.pin) {
     m.correctPin();
     if (d2.balance > MIN_BALANCE) m.aboveMinBalance();
     else m.belowMinBalance();
   } else m.incorrectPin(MAX_ATTEMPTS);
 }
 public void WITHDRAW(float w) {
   d2 = ssaMain.d2;
   ssaMain.tmp_withdraw2 = w;
   m.withdraw();
   if (d2.balance > MIN_BALANCE) {
     m.aboveMinBalance();
   } else {
     m.belowMinBalanceWithPanelty();
   }
 }
 public void DEPOSIT(float d) {
   d2 = ssaMain.d2;
   ssaMain.tmp_deposit2 = d;
   m.deposit();
   if (d2.balance > MIN_BALANCE) {
     m.aboveMinBalance();
   } else {
     m.belowMinBalanceWithPanelty();
   }
 }