added wc_globals