The structure now not a global
The structure now not a global, but problems with the functions