Corrected global variable name