better example for scope perf