Data output

That will work. This is a more complicated way to do exactly what I wrote above.

and I think yours is more editable version… thx Mr Huard…