rects instead of points