Fixed Rectangles and Attack code