add hierarchy
Merge pull request #2 from PanfilovDenis/master

add hierarchy