Example with segment-labeling