trying to fix fnWaitForChar....