use the getch() and getchar() for the debug