Refactored Polyline