changed root strucutre