working for scopes