a change to the code to get a log of the sentences that failed