adapted template to new TreeTable