changed global var name