Basic version of the diagnostics program