added root data and changed leaves