Making segmentation work