Is there any reason for these to be in this scope as opposed to the anonymous function below?