Replace WC() with global