steps added - DP