use node_id provided by the caller.