Take out the addNode from addRootNode function - now rootNode is added without difference like the other nodes