scopes and examples