Added segmentation.