added dp sample