Use static keyword for global variables