Completed tree functionality