@SuppressWarnings("unchecked")
	Hashtable getPolymerInfo(int iModel, int iPolymer, BitSet bs) {
		Hashtable returnInfo = new Hashtable();
		Vector info = new Vector();
		Polymer polymer = frame.mmset.getModel(iModel).getPolymer(iPolymer);
		int monomerCount = polymer.monomerCount;
		String sequence = "";
		for (int i = 0; i < monomerCount; i++) {
			if (bs.get(polymer.monomers[i].getLeadAtomIndex())) {
				Hashtable monomerInfo = polymer.monomers[i].getMyInfo();
				monomerInfo.put("monomerIndex", new Integer(i));
				info.add(monomerInfo);
				sequence += polymer.monomers[i].getGroup1();
			}
		}
		if (info.size() > 0) {
			returnInfo.put("sequence", sequence);
			returnInfo.put("monomers", info);
		}
		return returnInfo;
	}