forgot i was working with a pointer to a struct and not a pointer to a u8 array