 		    Rings.push( results[1] );
 
 		    console.log('Ring thingee');
-		    console.log();
 		}
 
 		for(var i=0;i<Rings.length;i++){
 			console.log('set of points: Rings[i]');
 			console.log(Rings[i]);
-			addAPolygon(Rings[i]);
+			addAPolygon(i,Rings[i]);
 			//var ptsArray=[];
 
 		    ///AddPoints(Rings[i]);

		for(var i=0;i<da.length;i++){
			var xy = da[i].split(" ");
			var pt=new google.maps.LatLng(xy[1],xy[0]);
			ppts.push(pt);
			bounds.extend(pt);
		}

		console.log('I made an array of LatLng (ppts): ');
		console.log(ppts);

		 var poly = new google.maps.Polygon({
			    paths: ppts,
			    strokeColor: '#1E90FF',
			    strokeOpacity: 0.8,
			    strokeWeight: 2,
			    fillColor: '#1E90FF',
			    fillOpacity: 0.35
			});




			poly.setMap(map);

			console.log('i added the poly to the map');

			//polygonArray.push(poly);



		//addAPolygon(poly2);

		console.log('im back to initmap with the array containing all of the points');
		console.log(ptsArray);


 var poly = new google.maps.Polygon({
			    paths: ptsArray,
			    strokeColor: '#1E90FF',
			    strokeOpacity: 0.8,
			    strokeWeight: 2,
			    fillColor: '#1E90FF',
			    fillOpacity: 0.35
			});




			poly.setMap(map);

			console.log('i added the poly to the map');

/*
		//using regex, we will get the indivudal Rings
