explanation of hex to struct