global variable removed