public Map<String,String> getDestinations(String org) throws badSelectionException{
		Map<String,String> destinations = new HashMap<String,String>();
		if(!routes.containsKey(org)) throw new badSelectionException("The origin "+org+" is not in the routeMap");
		Iterator<String> it = routes.get(org).iterator();
		while(it.hasNext()){
			String next = it.next();
			if(macCodes.containsKey(next)){
				destinations.put(macCodes.get(next),name2Code.get(macCodes.get(next)));
			}
			else{
				destinations.put(next,name2Code.get(next));
			}
		}
		return destinations;
	}