private BreezeMode addVarModePart(StringBuilder sb) {
		BreezeMode initState = null;
		if (this.modeList.size() > 0) {
			StringBuffer value = new StringBuffer("{");
			for (BreezeMode state : this.modeList) {
				if (state.isInitState()) {
					initState = state;
				}
				value.append(state.getSmvName()).append(',');
			}

			if (value.length() > 1)
				value.deleteCharAt(value.length() - 1);
			value.append('}');

			sb.append(templateVar.replaceAll("\\$\\{var\\}", SMVElement.DECL_MODE_NAME).replaceAll("\\$\\{value\\}",
					value.toString()));
		}
		return initState;
	}