refactoring(global)