Regression method done