add examples and modified tree structure