add DP implementation class