endianness not working.....