working on scopes