added support to different nodeIDs