towards getting tuples for rects