removed dependency on getch