I think my code is sequentially correct, but I might misunderstand the reading of bytes ?