segmentation for fred