adding dpd code