add builtin: globals method