added facets
added facets
added template for facets
recompiled