stylistic comment: this should be done as a scope.