structure for segmentation created