added segmentio