initial setup + ordinary least squares