Hot: diagnosticfunctions