global wfg implementation