threaded tree (not completed)