SegmentList: add write method