adding movement segmentation