working on chapter "Linear Regression"