adding facet api