Block code demo