playing around with MLE as linear model