"if-else if" changed to "cond"