more endian, not really tested