add hierarchical example
move text to doc helper
add doc test for hierarch cluster