added plis and segmented control