adding nodeid.