changed truncate to delete