create segmentio helper