updated output block_code output for pretty examples