add tree type example
add layered type example
add example for up subtype