adding global variable