add early support for little endian