First version of Logit-based model.