[RFC] the rectangle functions