Example showing how you should prefer transactions.