fix endian handling
useful stuff here
notes n stuff