lines and squares