dev: more diagnostics