use polyline subclass