local and global variable