adding a tree_reader