Technically, the whole strategy can be done with variables only. So are you sure you still need the rectangles?