#3 refactored tree id piece to initialization