Adding dp