dead llama detection implemented