moved to new tree api