before logistic regression