Removed unnecessary calls to tree