Added Keyboard functionality