resetor segmentation stuff