Updated to clearly distinguish the value txid