add template health check