endianness solution.