added more snippets for tree and track