added comment (TODO) for txn_do nesting and scope guard