renamed global -> globals