Global variable check; Null variable