Separate blocks for proc and global scope