doing polylines