added diag