Added references to globals