added more diahnostic