initial commit for q-diagnostics