private void replication(){
		Iterator<Table> ite;
		Table t;       
		boolean found;

		for(SchemaExtractor se : HorticultureFinalProject.schemaExtractor){
			found = false;
			for(Table ta : partitionList){
				if(se.getTableName().equalsIgnoreCase(ta.name)){
					found = true;
					break;                           
				}
			}

			// TODO still need to give one descent routing attribute

			if(!found){
				Table ta = new Table(se.getTableName());
				if(LNS.memoryEfficient){
					ta.replication = false;
					partitionList.add(ta);
				}
				else
					replicationList.add(ta);
			}
		}

		ite = partitionList.descendingIterator();
		while(ite.hasNext()){
			t = ite.next();
			if(!t.replication)
				continue;
			replicationList.addFirst(t);
			ite.remove();
		}

		num_tables = partitionList.size() + replicationList.size();
/* ZT
		for(Table ta: partitionList)
			tableList.add(ta);
		for(Table ta: replicationList)
			tableList.add(ta);
			*/
	}