always use diagnostics to debug