a part for linear regression