replace \\ by if (cond1 and cond2)