add backspace function.