(selectGen) set output to u8