finished segmentation nb