ScopeSample should be a struct