Added getSegment to locator