add dp method