tree: added result attribute