global variable changes