added least squares