Added delete to perform the same function as backspace