invert logic for readability