example2 now draws many polylines