Tree structures - Tree behavior and helper

..