Added polyline method