added the add scopes feature