global refactor
globals