 			 
 			return addFacet(new Facet(this, name));
 		};
+
 		// returns a facet by name
 		public function getFacetByName(name : String) : Facet {
 			for each(var facet:Facet in facets) {

			// all good
			return true;
		}
		public function getTotalNumContentItemsForFacetValue(f : FacetValue) : int {
			return getAllContentItemsForFacetValue(f).length;
		}
		public function getFilteredNumContentItemsForFacetValue(f : FacetValue) : int {
			// get all ContentItems
			var contentItems : Array = getAllContentItemsForFacetValue(f);


			return f;
		}

		public function createFacet(name : String, type : String = "") : Facet {
			if(getFacetByName(name)) {
				throw new Error("Cannot add facet, because it is already present: " + name);
