rectangle kept throwing me off, so I've changed it to rect.