added regression line calculation signature