working static tree