second getch method