@Override
	public boolean equals(Object o){
		if(o instanceof ChemistryUnit){
			ChemistryUnit cu = (ChemistryUnit) o;
			if(getType() == TYPE_NEST && cu.getType() == TYPE_NEST && cu.getSubUnits().equals(getSubUnits())){
				return true;
			}
			if(getType() == TYPE_BASE && cu.getType() == TYPE_BASE && cu.getName().equals(getName())){
				return true;
			}
		}
		return false;
	}