finish the equivalence function, confused about the concept of height