Adding aditional variable that helps to keep track is the animal dead