added polyline creation