added segmented control