added death condition