segment_demo