enable better diagnostics