Made global variables const