typo: "and the compare" should be "and then compare"