started an interface for segmentation