added dd features. still needs work but a start for dd