implement keyboard backspace delete function)