change global variable