Make this a class variable, avoid using global.