improvised variable blocks

Variables are no longer available outside the block where they was declared.