function [prdData, info] = predict_Agama_impalearis(par, data, auxData)
  
  % unpack par, data, auxData
  cPar = parscomp_st(par); vars_pull(par); 
  vars_pull(cPar);  vars_pull(data);  vars_pull(auxData);
    
  % compute temperature correction factors
  TC_ab = tempcorr(temp.ab, T_ref, T_A);
  TC = tempcorr(temp.am, T_ref, T_A);
  
% zero-variate data

  % life cycle
  pars_tp = [g k l_T v_Hb v_Hp];
  [t_p, t_b, l_p, l_b, info] = get_tp(pars_tp, f);
  
  % birth
  L_b = L_m * l_b;                  % cm, structural length at birth at f
  Lw_b = L_b/ del_M;                % cm, SVL at birth
  aT_b = t_b/ k_M/ TC_ab;     % d, age at birth at f and T

  % puberty 
  L_p = L_m * l_p;                  % cm, structural length at puberty
  Lw_p = L_p/ del_M;                % cm, SVL at puberty
  tT_p = (t_p-t_b)/ k_M/ TC;        % d, age at puberty at f and T

  % ultimate
  l_i = f - l_T;                    % -, scaled ultimate length
  L_i = L_m * l_i;                  % cm, ultimate structural length at f
  Lw_i = L_i/ del_M;                % cm, ultimate SVL
  Ww_i = L_i^3 * (1 + f * w);       % g, ultimate wet weight at f

  % reproduction
  pars_R = [kap; kap_R; g; k_J; k_M; L_T; v; U_Hb; U_Hp]; % compose parameter vector at T
  RT_i = TC * reprod_rate(L_i, f, pars_R);                % #/d, ultimate reproduction rate at T

  % life span
  pars_tm = [g; l_T; h_a/ k_M^2; s_G]; % compose parameter vector at T_ref
  t_m = get_tm_s(pars_tm, f, l_b);     % -, scaled mean life span at T_ref
  aT_m = t_m/ k_M/ TC;                 % d, mean life span at T
  
  % males
  p_Am_m = z_m * p_M/ kap;             % J/d.cm^2, {p_Am} spec assimilation flux
  E_m_m = p_Am_m/ v;                   % J/cm^3, reserve capacity [E_m]
  g_m = E_G/ (kap* E_m_m);             % -, energy investment ratio
  m_Em_m = y_E_V * E_m_m/ E_G;         % mol/mol, reserve capacity 
  w_m = m_Em_m * w_E/ w_V;             % -, contribution of reserve to weight
  L_mm = v/ k_M/ g_m;                  % cm, max struct length
  L_bm = l_b * L_mm; L_im = f * L_mm;  % cm, struct length, birth & ultimate
  Ww_im = L_im^3 * (1 + f * w_m);      % g, ultimate wet weight
  Lw_im = L_im/ del_M;                 % cm, SVL

  % pack to output
  prdData.ab = aT_b;
  prdData.tp = tT_p;
  prdData.am = aT_m;
  prdData.Lb = Lw_b;
  prdData.Li = Lw_i;
  prdData.Lim = Lw_im;
  prdData.Wwi = Ww_i;
  prdData.Wwim = Ww_im;
  prdData.Ri = RT_i;
  
  % univar data
  
  % time-length/weight
  pars_lb = [g k v_Hb]; pars_lbm = [g_m k v_Hb];
  % females
  L_b = L_m * get_lb(pars_lb, f_tL); L_i = f_tL * L_m;
  r_B = k_M/ 3/ (1 + f_tL/ g); % 1/d, von Bert growth rate
  [t, L] = ode45(@get_L, [0;tL_f(:,1)], L_b, [], temp.tL_f, T_ref, T_A, L_i, r_B);
  L(1) = []; ELw_f = L/ del_M; % cm, SVL 
  % 
  [t, L] = ode45(@get_L, [0;tW_f(:,1)], L_b, [], temp.tW_f, T_ref, T_A, L_i, r_B);
  L(1) = []; EWw_f = L.^3 * (1 + f_tL * w); % g, weight
  % males
  L_bm = L_mm * get_lb(pars_lbm, f_tL); L_im = f_tL * L_mm;
  r_Bm = k_M/ 3/ (1 + f_tL/ g_m); % 1/d, von Bert growth rate
  [t, L] = ode45(@get_L, [0;tL_m(:,1)], L_bm, [], temp.tL_m, T_ref, T_A, L_im, r_Bm);
  L(1) = []; ELw_m = L/ del_M; % cm, SVL 
  % 
  [t, L] = ode45(@get_L, [0;tW_m(:,1)], L_bm, [], temp.tW_m, T_ref, T_A, L_im, r_Bm);
  L(1) = []; EWw_m = L.^3 * (1 + f_tL * w_m); % g, weight
  
  % pack to output
  prdData.tL_f = ELw_f;
  prdData.tL_m = ELw_m;
  prdData.tW_f = EWw_f;
  prdData.tW_m = EWw_m;

end
function dL = get_L(t, L, tT, T_ref, T_A, L_i, r_B)
  TC = tempcorr(spline1(t,tT), T_ref, T_A);
  dL = TC * r_B * (L_i - L);
end
