handle data in a hierarchical structure
