move deepTraverse to Tree