replaced mnaps with getch in terms of time/wait control