First Commit for Logit based method.