added filtering for death