Added the global variable statement