add missing comparison method