Segmentation and profiling