added logit model