added crude version of class facet