removed diag p statement