removed diagnostics