use clearer boolean expression