improved workflow for sub-transactions