adding dp for surviving mode
adding dp for surviving mode