changing delete to destroy