When pixels are sent as a digital stream, it is essential to receive the right number of pixels at the other end. If bits of data are lost or added, the resulting image can be unrecognizable. To prevent this problem, the receiver uses a "check-digit" function that determines if the right number of bits have been received. If the "check-digit" function detects a problem, a new transmission is requested to complete the stream, or the receiver skips ahead until the bit-stream is complete again. This can result in lags and glitches if the stream is heavily damaged.