Why define this as a global variable?