add general purpose segmentator