doesn't rects have height, and width-functions?