Tree API added