re-ordered globals and made node style lighter