added segment_control example code