Added Keyboard recognition