added -D option