Why all these variables are in the global scope now?