do you actually need a transaction here?  the subsequent code doesn't actually hit the database, does it?