vastly improved xSegment