why not using deathQueue function which we already have?