add basic hierarchical routing