use SegmentedDataInfo class