delete function werkt