Implementing tree