How to do the same thing with a dynamic block?