Added the comparison method