minor mod to dd