Concatenate if-clauses