better if condition