removing points and rects. closer to working but not there yet.