use inv_logit