switch from u8 to i8