restructuring workflows