now can call depth(tree)