ported text, nested, mixed workflows from 0.1 branch