start of modifying processing codes to take in transactionInId so it is not processing entire batch when fixing errors