default argument and global variable