Changed block to stmt_block
Counting variables for lists
Support to regions