Added example for non-isolated scopes