changed delete to destroy