is global variable bad. There are any references about is global variable bad in here. you can look below.