some work on the hierarchical kern