REFACTOR item equal check