put globals together