Why we need this as a global variable?