ols go outside of the loop