changed 'predef' to 'globals', 'predef' is deprecated