Added byte order reversing