Added private functions to test node restructure