Distinguish local and global var