Added an example for DP