support for new handling of scopes