first push for tree equations and tree data validation