Notes on turning regressionStrat into class