working geoms/stats plus changes to the ROI code