refactorisation of node elements