reorganized globals
reorganized globals