split off resolveNode