parity should be checked on Y