kbhit no longer necessary