Completed handle_DEL function