do operations on many relations in transaction
 specs for working with transactions