work from WDI class