pre global name space reduction refactor
1 global variable