Updated coding style on global variables