Here also, I would rename `i` to `nodeID`