Added support for backspace and tab