Rename sid to visitSeq and pid to nodeId.