restructure
diagnostics