revising compare