changed byte order to little endian