fixed overlapping definitions in comparison