added facet api