adds scopes to controller