Try to avoid global variable.