working version with WD, WF Viewer