Add global keyword
Restructured static context