Sorting out scopes