Serial communication design