change to DP sol