made scopes optional