Added bounded error-checking on received data