Tree magic