switching to polylines