small refactorings regarding adding nodes