group into node attribute