diagnostic tool