rewrote Comparing