Should be a global variable.