some diagnostics