Arrange global variables