added support for death animations