add check for data in wd