added -w option in ddv