Updated example to match new wgn() definition