started backspace functionality implementation