optional CRC check added