added missing is_gen_z branch