coalesce these in one check
bitwise OR them, not AND (stupid)