Added backspace and character control