Added parity check for 16-bit data