private boolean addModeToSet(final String modeName, Map<String, Set<String>> modeSets, String[] modeToAdd) {
		if (null == modeName || "".equals(modeName.trim())) return false;
		boolean isModified = false;
		String o = modeName.trim().toUpperCase();
		Set<String> modeSet = modeSets.get(o);
		if (null == modeSet) {
			modeSet = new TreeSet<String>();
			modeSets.put(o, modeSet);
		}
		for (String newMode : modeToAdd) {
			String n = newMode.trim().toUpperCase();
			if ("".equals(n)) continue;
			if (modeSet.add(n)) isModified = true;
		}
		if (modeSet.size() == 0) modeSets.remove(o);
		return isModified;
	}