main_scope to global_scope, which is quite more correct