Added segmentation difference method