the rectangles are made using random variables