Example of using blocks.