Implemented KeyboardInput and WaitFor().Condition