endian. kinda works now