customised the polyline