using polyline instead of ofLine