it looks like dd is being ignored in this case, maybe should raise an error for now if dd is not None?