diagnostic framework