global variables are not good, avoid them if at all possible