Adjusted nested scope to avoid scope copy and support local vars in blocks