add example and doc about nesting of txns