add diagnostic components.