framework of segmented insert