* adding diagnostics