WIP: starting on facets api