rename delete to destroy because delete is reserved