Endianness challenge solved