 	    }
 	    
 	    private function parseNextNode():void {
-	    	namespace rsync01namespace = "http://www.protogeni.net/resources/rspec/0.1"; 
-	        use namespace rsync01namespace; 
-	        
 	        var idx:int;
 	        for(idx = 0; idx < MAX_WORK; idx++) {
 	        	var fullIdx:int = myIndex + idx;
 	        	//main.console.appendText("idx:" + idx.toString() + " full:" + fullIdx.toString());
-	        	if(fullIdx == locations.length()) {
+	        	if(fullIdx == nodes.length()) {
 	        		
 	        		// Assign subnodes
 	        		for each(var obj:Object in subnodeList)

		        		l.urn = link.@component_uuid;
		        		l.interface1 = ni1;
		        		l.interface2 = ni2;
		        		l.bandwidth = link.bandwidth;
		        		l.latency = link.latency;
		        		l.packetLoss = link.packet_loss;
		        		l.rspec = link.copy();
		        		
		        		for each(var tx:XML in link.link_type) {

	    }
	    
	    private function parseNextLink():void {
	        var idx:int;
	        for(idx = 0; idx < MAX_WORK; idx++) {
	        	var fullIdx:int = myIndex + idx;
