We're also doing this comparison twice