Begining of segmentation support