added support for wd
added wd support