simplify conditional.