added all handels for Rectangular Figures