ols functioning for example