global variable modified