Survival response -- fixed some bugs.