adding lines to perimeter