add detail tree sample