added segment name option to getSegmentInfo