added examples for transactions