part way through MLE