added scopes to events