problem 1 if to cond