changed nodeId long to bigint