lines and rectangles