first attempt at polyline