Alternative implementation based on the transaction status