added scopes for groups